Showing the changes to libraries/shared/src/GenericThread.cpp (1 of 4 files). Show all
Unified · Split
| @@ -44,6 +44,8 @@ void GenericThread::initialize(bool isThreaded) { · 43 unmodified lines | |||
| 44 | void GenericThread::terminate() { | 44 | void GenericThread::terminate() { |
| 45 | if (_isThreaded) { | 45 | if (_isThreaded) { |
| 46 | _stopThread = true; | 46 | _stopThread = true; |
| 47 | |||
| 48 | terminating(); | ||
| 47 | 49 | ||
| 48 | if (_thread) { | 50 | if (_thread) { |
| 49 | _thread->wait(); | 51 | _thread->wait(); |