[rpc] Remove auth cookie on shutdown

Accidentally removed in 40b556d374

Github-Pull: #10139
Rebased-From: 4b87973c32
This commit is contained in:
practicalswift 2017-03-28 08:20:08 +02:00 committed by Wladimir J. van der Laan
parent 0b5e162b84
commit f15268db3b
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

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