Skip to content

Commit

Permalink
[remove tokio-console]
Browse files Browse the repository at this point in the history
it seems like tokio-console lead memory leakage,
since it's running on the unstable version of tokio.
  • Loading branch information
4t145 committed Mar 31, 2022
1 parent 8b5f05d commit 2fef2fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build]
rustflags = ["--cfg", "tokio_unstable"]
# rustflags = ["--cfg", "tokio_unstable"]
2 changes: 1 addition & 1 deletion room/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use crate::consts::*;

#[tokio::main]
async fn main() {
console_subscriber::init();
// console_subscriber::init();


let mut handles = JoinSet::new();
Expand Down
1 change: 1 addition & 0 deletions room/src/observer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ impl Observer {
_ => {}
}
}

}
);

Expand Down

1 comment on commit 2fef2fd

@4t145
Copy link
Owner

@4t145 4t145 commented on 2fef2fd Mar 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this issue: tokio-rs/console#256

Please sign in to comment.