Merge #10139: [rpc] Remove auth cookie on shutdown

4b87973 [rpc] Remove auth cookie on shutdown (practicalswift)

Tree-SHA512: 5d7d04413d3eb6a8d167443a3fdfe4c289bdc5cbc4c9b257a557c2a7fab5d4b32a81a1357e27b77ce2623e76e495b2e8b21eab0ab032bb261fdcdf171bac1dac
This commit is contained in:
Wladimir J. van der Laan 2017-04-03 08:52:35 +02:00
commit e6033e00b1
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

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