aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2021-02-13 15:57:31 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2021-05-04 20:47:49 +0530
commit75b07cc6c8639ec1ecd13d51938c91da3d76ac42 (patch)
tree9decd33d12e94b41470ca3054d5154edcc6334a0 /src/common
parentUse interprocess crate, BufReader and BufWriter (diff)
downloadsl0ppij-75b07cc6c8639ec1ecd13d51938c91da3d76ac42.tar.gz
sl0ppij-75b07cc6c8639ec1ecd13d51938c91da3d76ac42.tar.xz
sl0ppij-75b07cc6c8639ec1ecd13d51938c91da3d76ac42.zip
Undo some changes
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/mod.rs b/src/common/mod.rs
index 4e0eeec1..7ed80562 100644
--- a/src/common/mod.rs
+++ b/src/common/mod.rs
@@ -209,7 +209,7 @@ pub fn start(mut os_input: Box<dyn OsApi>, opts: CliArgs, config: Config) {
let send_app_instructions =
SenderWithContext::new(SenderType::SyncSender(send_app_instructions));
- let ipc_thread = start_server(
+ let pty_thread = start_server(
os_input.clone(),
opts.clone(),
command_is_executing.clone(),
@@ -566,7 +566,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 _ = ipc_thread.join();
+ let _ = pty_thread.join();
//IpcSenderWithContext::new().send(ApiCommand::Quit);
let _ = send_screen_instructions.send(ScreenInstruction::Quit);
let _ = screen_thread.join();
@@ -595,7 +595,7 @@ pub fn start(mut os_input: Box<dyn OsApi>, opts: CliArgs, config: Config) {
}
let _ = send_server_instructions.send(ApiCommand::Quit);
- let _ = ipc_thread.join().unwrap();
+ let _ = pty_thread.join().unwrap();
//IpcSenderWithContext::new().send(ApiCommand::Quit);
let _ = send_screen_instructions.send(ScreenInstruction::Quit);
screen_thread.join().unwrap();