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 committed by Alexander Block
parent 06c8714572
commit 0fc9b2bd8e

View File

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