Core/Shared: Fix world and auth crash on shutdown (PCQ & DbWorker)
Fixes #12704
This commit is contained in:
1 parent
56c0581e55
commit
cb453fa093
2 files changed
+3
-3
No files matched your search
@@ -50,7 +50,7 @@ void DatabaseWorker::WorkerThread()
|
||||
|
||||
_queue->WaitAndPop(operation);
|
||||
|
||||
if (_cancelationToken)
|
||||
if (_cancelationToken || !operation)
|
||||
return;
|
||||
|
||||
operation->SetConnection(_connection);
|
||||
|
||||
Reference in new issue
Block a user