cIsThread: Reset m_ShouldTerminate after the thread has stopped (#4258)
This allows threads to be restarted after stopping. Fixes #4257
This commit is contained in:
@@ -140,7 +140,7 @@ void cLightingThread::Stop(void)
|
||||
m_ShouldTerminate = true;
|
||||
m_evtItemAdded.Set();
|
||||
|
||||
Wait();
|
||||
super::Stop();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user