mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge e4bfd51acc into merged_master (Bitcoin PR #18452)
This commit is contained in:
commit
f15555c2f6
2 changed files with 27 additions and 8 deletions
|
|
@ -88,7 +88,15 @@ public:
|
|||
Interrupt(m_context);
|
||||
Shutdown(m_context);
|
||||
}
|
||||
void startShutdown() override { StartShutdown(); }
|
||||
void startShutdown() override
|
||||
{
|
||||
StartShutdown();
|
||||
// Stop RPC for clean shutdown if any of waitfor* commands is executed.
|
||||
if (gArgs.GetBoolArg("-server", false)) {
|
||||
InterruptRPC();
|
||||
StopRPC();
|
||||
}
|
||||
}
|
||||
bool shutdownRequested() override { return ShutdownRequested(); }
|
||||
void mapPort(bool use_upnp) override
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue