aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-04-03 08:52:35 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-04-03 08:53:04 +0200
commite6033e00b164dcffb3aef6198a8311f729c7152b (patch)
treed845eb4178f479f52fbd1bbca1ed45756088cebc
parentebfd653798113a53a604dcaa98c56b2d6638ad5d (diff)
parent4b87973c32bcaa5fa7509793e4f0c4f4f981f21b (diff)
Merge #10139: [rpc] Remove auth cookie on shutdown
4b87973 [rpc] Remove auth cookie on shutdown (practicalswift) Tree-SHA512: 5d7d04413d3eb6a8d167443a3fdfe4c289bdc5cbc4c9b257a557c2a7fab5d4b32a81a1357e27b77ce2623e76e495b2e8b21eab0ab032bb261fdcdf171bac1dac
-rw-r--r--src/rpc/server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp
index ef9fecd8fe..141062b3c0 100644
--- a/src/rpc/server.cpp
+++ b/src/rpc/server.cpp
@@ -322,6 +322,7 @@ void StopRPC()
{
LogPrint(BCLog::RPC, "Stopping RPC\n");
deadlineTimers.clear();
+ DeleteAuthCookie();
g_rpcSignals.Stopped();
}