do not hang on exit
This commit is contained in:
parent
c0e87df14c
commit
858e48c6aa
1 changed files with 2 additions and 2 deletions
|
|
@ -565,7 +565,7 @@ pub fn start(mut os_input: Box<dyn OsApi>, opts: CliArgs, config: Config) {
|
|||
}
|
||||
AppInstruction::Error(backtrace) => {
|
||||
let _ = send_server_instructions.send(ApiCommand::Quit);
|
||||
let _ = pty_thread.join();
|
||||
//let _ = pty_thread.join();
|
||||
let _ = send_screen_instructions.send(ScreenInstruction::Quit);
|
||||
let _ = screen_thread.join();
|
||||
let _ = send_plugin_instructions.send(PluginInstruction::Quit);
|
||||
|
|
@ -592,7 +592,7 @@ pub fn start(mut os_input: Box<dyn OsApi>, opts: CliArgs, config: Config) {
|
|||
}
|
||||
|
||||
let _ = send_server_instructions.send(ApiCommand::Quit);
|
||||
let _ = pty_thread.join().unwrap();
|
||||
//let _ = pty_thread.join().unwrap();
|
||||
let _ = send_screen_instructions.send(ScreenInstruction::Quit);
|
||||
screen_thread.join().unwrap();
|
||||
let _ = send_plugin_instructions.send(PluginInstruction::Quit);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue