BIT-1885: fix "kill" threading message

Now goes through the proper (main thread) channels to signal the
thread to stop.
This commit is contained in:
Jon Siwek 2018-08-23 16:48:49 -05:00
parent b9dfca7789
commit af181474c1

View file

@ -94,16 +94,10 @@ public:
virtual bool Process()
{
auto rval = true;
if ( ! Object()->child_finished )
{
rval = Object()->OnFinish(network_time);
Object()->Finished();
}
Object()->SignalStop();
Object()->WaitForStop();
thread_mgr->KillThread(Object());
return rval;
return true;
}
};