Skip to content
Snippets Groups Projects
Commit a991bcfe authored by nitsanw's avatar nitsanw Committed by Sean Busbey
Browse files

[client] Wait for status thread to properly exit in shutdown sequence

parent f50848b0
No related branches found
No related tags found
No related merge requests found
......@@ -800,7 +800,13 @@ public class Client
if (status)
{
statusthread.interrupt();
// wake up status thread if it's asleep
statusthread.interrupt();
// at this point we assume all the monitored threads are already gone as per above join loop.
try {
statusthread.join();
} catch (InterruptedException e) {
}
}
try
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment