[rpc] Remove auth cookie on shutdown

Accidentally removed in 40b556d374
This commit is contained in:
practicalswift committed 2017-04-02 15:52:41 +02:00
1 parent ebfd653798
commit 4b87973c32
1 file changed
+1
+1
View File
@@ -322,6 +322,7 @@ void StopRPC()
{ {
LogPrint(BCLog::RPC, "Stopping RPC\n"); LogPrint(BCLog::RPC, "Stopping RPC\n");
deadlineTimers.clear(); deadlineTimers.clear();
DeleteAuthCookie();
g_rpcSignals.Stopped(); g_rpcSignals.Stopped();
} }