Sending the action Action::Detach to the server
This commit is contained in:
parent
18adbcc1b1
commit
e7fc0e3ff9
1 changed files with 2 additions and 4 deletions
|
|
@ -210,11 +210,9 @@ pub fn start_client(
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
Box::new({
|
Box::new({
|
||||||
let send_client_instructions = send_client_instructions.clone();
|
let os_api = os_input.clone();
|
||||||
move || {
|
move || {
|
||||||
send_client_instructions
|
os_api.send_to_server(ClientToServerMsg::Action(Action::Detach));
|
||||||
.send(ClientInstruction::Exit(ExitReason::ForceDetached))
|
|
||||||
.unwrap()
|
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue