mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
do a clear teardown of tokio runtime
This commit is contained in:
parent
9df3004843
commit
e7452aa7ab
@ -115,6 +115,7 @@ impl ClientInit {
|
|||||||
break 'tries;
|
break 'tries;
|
||||||
}
|
}
|
||||||
let _ = tx.send(Msg::Done(Ok(client)));
|
let _ = tx.send(Msg::Done(Ok(client)));
|
||||||
|
tokio::task::block_in_place(move || drop(runtime2));
|
||||||
return;
|
return;
|
||||||
},
|
},
|
||||||
Err(ClientError::NetworkErr(NetworkError::ConnectFailed(
|
Err(ClientError::NetworkErr(NetworkError::ConnectFailed(
|
||||||
|
Loading…
Reference in New Issue
Block a user