diff --git a/services/backup/docker-server/contents/server/src/Reactors/server/CreateNewBackupReactor.h b/services/backup/docker-server/contents/server/src/Reactors/server/CreateNewBackupReactor.h --- a/services/backup/docker-server/contents/server/src/Reactors/server/CreateNewBackupReactor.h +++ b/services/backup/docker-server/contents/server/src/Reactors/server/CreateNewBackupReactor.h @@ -100,6 +100,10 @@ void CreateNewBackupReactor::doneCallback() { const std::lock_guard lock(this->reactorStateMutex); + if (this->putReactor == nullptr) { + return; + } + std::string emptyString = ""; this->putReactor->scheduleSendingDataChunk(std::make_unique("")); std::unique_lock lock2(this->waitingForBlobClientCVMutex); this->waitingForBlobClientCV.wait(lock2);