[rpc] Remove auth cookie on shutdown

Accidentally removed in 40b556d374
This commit is contained in:
practicalswift 2017-03-28 08:20:08 +02:00
parent ebfd653798
commit 4b87973c32

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();
} }