modified: src/client.rs
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit

This commit is contained in:
Michael Wain 2024-10-13 20:57:56 +03:00
parent 685b2a7fb9
commit 22c918b782

View File

@ -51,7 +51,7 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, close_toke
let mut buf = vec![0; 1400]; // mtu
loop {
tokio::select! {
_ = subtasks_quit.lock().cancelled() => {
_ = subtasks_quit.lock().unwrap().cancelled() => {
info!("Cancellation token has been thrown dev_read_task");
return;
}
@ -74,7 +74,7 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, close_toke
loop {
tokio::select! {
_ = subtasks_quit.lock().cancelled() => {
_ = subtasks_quit.lock().unwrap().cancelled() => {
info!("Cancellation token has been thrown sock_read_task");
return;
}