caProvider threads: Lock the mutex while reading isStop state

This commit is contained in:
Andrew Johnson
2020-06-29 13:32:13 -05:00
committed by mdavidsaver
parent f9cbaf72ff
commit 9671ee132e
8 changed files with 21 additions and 4 deletions

View File

@@ -104,7 +104,7 @@ void PutDoneThread::run()
if(channelPut) channelPut->notifyClient();
}
}
if(isStop) {
if(stopping()) {
waitForStop.signal();
break;
}