Detach session on a forced close (handlign SIGTERM and other signals)
This commit is contained in:
parent
a71b966941
commit
18adbcc1b1
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ pub fn start_client(
|
||||||
let send_client_instructions = send_client_instructions.clone();
|
let send_client_instructions = send_client_instructions.clone();
|
||||||
move || {
|
move || {
|
||||||
send_client_instructions
|
send_client_instructions
|
||||||
.send(ClientInstruction::Exit(ExitReason::Normal))
|
.send(ClientInstruction::Exit(ExitReason::ForceDetached))
|
||||||
.unwrap()
|
.unwrap()
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue