aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-03-28 08:20:08 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-04-02 15:52:41 +0200
commit4b87973c32bcaa5fa7509793e4f0c4f4f981f21b (patch)
treed845eb4178f479f52fbd1bbca1ed45756088cebc /src/rpc
parentebfd653798113a53a604dcaa98c56b2d6638ad5d (diff)
[rpc] Remove auth cookie on shutdown
Accidentally removed in 40b556d3742a1f65d67e2d4c760d0b13fe8be5b7
Diffstat (limited to 'src/rpc')
-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();
}