Fixed issue where thread interrupt would cause the service framework would throw an error because interrupting the waiting thread throws an exception.

IPC 0.9.4
Sean McArdle 2016-05-09 11:48:20 -07:00
parent 0c860a543d
commit 2da779e2be
1 changed files with 0 additions and 1 deletions

View File

@ -323,7 +323,6 @@ namespace WifiSitter
protected override void OnStopImpl() {
_shutdownEvent.Set();
_thread.Interrupt();
if (!_thread.Join(3000)) {
_thread.Abort();
}