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 | 44 | void GenericThread::terminate() { |
| 45 | 45 | if (_isThreaded) { |
| 46 | 46 | _stopThread = true; |
| 47 | + | |
| 48 | + terminating(); | |
| 47 | 49 | |
| 48 | 50 | if (_thread) { |
| 49 | 51 | _thread->wait(); |