aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/httpserver.cpp')
-rw-r--r--src/httpserver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/httpserver.cpp b/src/httpserver.cpp
index e1763c6ad2..5f240d3c49 100644
--- a/src/httpserver.cpp
+++ b/src/httpserver.cpp
@@ -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");