Bugfix: RPC: Add missing UnregisterHTTPHandler for /wallet/
This commit is contained in:
parent
85d5319716
commit
d558f44c58
1 changed files with 3 additions and 0 deletions
|
@ -252,6 +252,9 @@ void StopHTTPRPC()
|
|||
{
|
||||
LogPrint(BCLog::RPC, "Stopping HTTP RPC server\n");
|
||||
UnregisterHTTPHandler("/", true);
|
||||
#ifdef ENABLE_WALLET
|
||||
UnregisterHTTPHandler("/wallet/", false);
|
||||
#endif
|
||||
if (httpRPCTimerInterface) {
|
||||
RPCUnsetTimerInterface(httpRPCTimerInterface.get());
|
||||
httpRPCTimerInterface.reset();
|
||||
|
|
Loading…
Reference in a new issue