Set to nullptr after delete
This commit is contained in:
1 parent
fcf556f7e9
commit
d93b97fbcf
2 files changed
+3
No files matched your search
@@ -482,6 +482,7 @@ void StopHTTPServer()
|
||||
LogPrint("http", "Waiting for HTTP worker threads to exit\n");
|
||||
workQueue->WaitExit();
|
||||
delete workQueue;
|
||||
workQueue = nullptr;
|
||||
}
|
||||
if (eventBase) {
|
||||
LogPrint("http", "Waiting for HTTP event thread to exit\n");
|
||||
|
||||
Reference in new issue
Block a user