mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 01:42:27 +00:00
revert stop_daemon method to use correct exit
This was changed because sometimes the daemon does not complete its exit routine with this method, but as it does correctly wind most things down even if it gets stuck I've changed it back.
This commit is contained in:
parent
96cbecffd7
commit
db53e1956a
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ namespace cryptonote
|
||||||
{
|
{
|
||||||
// FIXME: replace back to original m_p2p.send_stop_signal() after
|
// FIXME: replace back to original m_p2p.send_stop_signal() after
|
||||||
// investigating why that isn't working quite right.
|
// investigating why that isn't working quite right.
|
||||||
m_core.stop();
|
m_p2p.send_stop_signal();
|
||||||
res.status = CORE_RPC_STATUS_OK;
|
res.status = CORE_RPC_STATUS_OK;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue