* pump after stopping hidden service context

* flush nodedb after stopping links
pull/686/head
Jeff Becker 5 years ago
parent d86633bc96
commit 5460cb5aa6
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -1665,6 +1665,7 @@ namespace llarp
{
Router *self = static_cast< Router * >(u);
self->StopLinks();
self->nodedb()->AsyncFlushToDisk();
self->_logic->call_later({200, self, &RouterAfterStopLinks});
}
@ -1692,7 +1693,7 @@ namespace llarp
_exitContext.Stop();
if(rpcServer)
rpcServer->Stop();
nodedb()->AsyncFlushToDisk();
PumpLL();
_logic->call_later({200, this, &RouterAfterStopIssued});
}

Loading…
Cancel
Save