From 7b431bed513db3318811698029304d81e5831ab3 Mon Sep 17 00:00:00 2001 From: peterbell10 <peterbell10@live.co.uk> Date: Sun, 22 Jul 2018 22:35:58 +0100 Subject: cIsThread: Reset m_ShouldTerminate after the thread has stopped (#4258) This allows threads to be restarted after stopping. Fixes #4257 --- src/LightingThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LightingThread.cpp') diff --git a/src/LightingThread.cpp b/src/LightingThread.cpp index ccefdfef2..c83589965 100644 --- a/src/LightingThread.cpp +++ b/src/LightingThread.cpp @@ -140,7 +140,7 @@ void cLightingThread::Stop(void) m_ShouldTerminate = true; m_evtItemAdded.Set(); - Wait(); + super::Stop(); } -- cgit v1.2.3