Skip to content

Commit

Permalink
Remove unused println (#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
namse committed Jun 18, 2024
1 parent eb6508a commit d7eb81b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions namui/namui/src/namui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,9 @@ pub fn start(component: impl 'static + Fn(&RenderCtx) + Send) {
);
}

println!("main thread id {:?}", std::thread::current().id());
let tokio_runtime: tokio::runtime::Runtime =
tokio_runtime().expect("Failed to create tokio runtime");
tokio_runtime.spawn(async move {
println!("thread id: {:?}", std::thread::current().id());
system::init_system()
.await
.expect("Failed to initialize namui system");
Expand All @@ -65,7 +63,6 @@ pub fn start(component: impl 'static + Fn(&RenderCtx) + Send) {
#[cfg(not(target_os = "wasi"))]
{
tokio_runtime.block_on(async move {
println!("thread id: {:?}", std::thread::current().id());
screen::take_main_thread(component);
});
}
Expand Down

0 comments on commit d7eb81b

Please sign in to comment.