Commit 0b73272e authored by rswindell's avatar rswindell
Browse files

input_thread_mutex protection (don't destroy unless successfully created).

(part of previous commit of main.cpp)
parent 0dcac095
......@@ -335,6 +335,7 @@ public:
HANDLE input_thread;
pthread_mutex_t input_thread_mutex;
bool input_thread_mutex_locked; // by someone other than the input_thread
bool input_thread_mutex_created;
pthread_mutex_t ssh_mutex;
bool ssh_mutex_created;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment