mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 21:03:28 +01:00
Merge pull request #4612
2d48861d
p2p: only deinitialize what's been initialized in offline mode (moneromooo-monero)
This commit is contained in:
commit
ecc690a613
@ -655,10 +655,14 @@ namespace nodetool
|
||||
{
|
||||
kill();
|
||||
m_peerlist.deinit();
|
||||
m_net_server.deinit_server();
|
||||
// remove UPnP port mapping
|
||||
if(!m_no_igd)
|
||||
delete_upnp_port_mapping(m_listening_port);
|
||||
|
||||
if (!m_offline)
|
||||
{
|
||||
m_net_server.deinit_server();
|
||||
// remove UPnP port mapping
|
||||
if(!m_no_igd)
|
||||
delete_upnp_port_mapping(m_listening_port);
|
||||
}
|
||||
return store_config();
|
||||
}
|
||||
//-----------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user