History

switch ReceivedPacketProcessor to using QWaitCondition

ZappoMan committed 12 years ago

Commit f5cdb981 parent 19c60ce4 files · +20 −3Browse files

Showing the changes to libraries/shared/src/GenericThread.cpp (1 of 4 files). Show all

Unified · Split

libraries/shared/src/GenericThread.cpp+2−0
@@ -44,6 +44,8 @@ void GenericThread::initialize(bool isThreaded) { · 43 unmodified lines
44void GenericThread::terminate() {44void 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();