From 4b87973c32bcaa5fa7509793e4f0c4f4f981f21b Mon Sep 17 00:00:00 2001 From: practicalswift Date: Tue, 28 Mar 2017 08:20:08 +0200 Subject: [PATCH] [rpc] Remove auth cookie on shutdown Accidentally removed in 40b556d3742a1f65d67e2d4c760d0b13fe8be5b7 --- src/rpc/server.cpp | 1 + 1 file changed, 1 insertion(+) 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(); }