[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
1 changed files with 1 additions and 0 deletions

View File

@ -322,6 +322,7 @@ void StopRPC()
{
LogPrint(BCLog::RPC, "Stopping RPC\n");
deadlineTimers.clear();
DeleteAuthCookie();
g_rpcSignals.Stopped();
}