aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-03-18 12:40:58 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2017-03-18 12:40:58 +0100
commitd93b97fbcfdd5cd255a456ee4d8d6d8020103862 (patch)
treeb7c49cfef9a89de6316c0e2e38967378e5106d31 /src/httpserver.cpp
parentfcf556f7e9b3b09d88aaa1377dc97f6438b2c9c6 (diff)
Set to nullptr after delete
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");