Detach session on a forced close (handlign SIGTERM and other signals)

This commit is contained in:
Dante Pippi 2021-06-17 21:21:39 -03:00
parent a71b966941
commit 18adbcc1b1

View file

@ -213,7 +213,7 @@ pub fn start_client(
let send_client_instructions = send_client_instructions.clone();
move || {
send_client_instructions
.send(ClientInstruction::Exit(ExitReason::Normal))
.send(ClientInstruction::Exit(ExitReason::ForceDetached))
.unwrap()
}
}),