mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Set to nullptr after delete
This commit is contained in:
parent
fcf556f7e9
commit
d93b97fbcf
2 changed files with 3 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue