caProvider threads: Lock the mutex while reading isStop state
This commit is contained in:
committed by
mdavidsaver
parent
f9cbaf72ff
commit
9671ee132e
@@ -104,7 +104,7 @@ void PutDoneThread::run()
|
||||
if(channelPut) channelPut->notifyClient();
|
||||
}
|
||||
}
|
||||
if(isStop) {
|
||||
if(stopping()) {
|
||||
waitForStop.signal();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user