diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-03-18 12:40:58 +0100 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-03-18 12:40:58 +0100 |
commit | d93b97fbcfdd5cd255a456ee4d8d6d8020103862 (patch) | |
tree | b7c49cfef9a89de6316c0e2e38967378e5106d31 /src/httpserver.cpp | |
parent | fcf556f7e9b3b09d88aaa1377dc97f6438b2c9c6 (diff) |
Set to nullptr after delete
Diffstat (limited to 'src/httpserver.cpp')
-rw-r--r-- | src/httpserver.cpp | 1 |
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"); |