mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 20:32:35 -03:00
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");
|
LogPrint(BCLog::RPC, "Stopping HTTP RPC server\n");
|
||||||
UnregisterHTTPHandler("/", true);
|
UnregisterHTTPHandler("/", true);
|
||||||
|
#ifdef ENABLE_WALLET
|
||||||
|
UnregisterHTTPHandler("/wallet/", false);
|
||||||
|
#endif
|
||||||
if (httpRPCTimerInterface) {
|
if (httpRPCTimerInterface) {
|
||||||
RPCUnsetTimerInterface(httpRPCTimerInterface.get());
|
RPCUnsetTimerInterface(httpRPCTimerInterface.get());
|
||||||
httpRPCTimerInterface.reset();
|
httpRPCTimerInterface.reset();
|
||||||
|
|
Loading…
Reference in a new issue