diff options
author | Thomas Winget <tewinget@gmail.com> | 2015-02-05 05:38:49 -0500 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2015-02-24 00:54:50 -0500 |
commit | db53e1956a441c6e8496809f4ade4c4c7fa05276 (patch) | |
tree | 9f5ddbb046ab52ccac1997497a03751ae40c5dcf /src/rpc/core_rpc_server.cpp | |
parent | RPC calls for background daemon added in (diff) | |
download | monero-db53e1956a441c6e8496809f4ade4c4c7fa05276.tar.xz |
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.
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 32bfb8c60..93e1f7a88 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -411,7 +411,7 @@ namespace cryptonote { // FIXME: replace back to original m_p2p.send_stop_signal() after // investigating why that isn't working quite right. - m_core.stop(); + m_p2p.send_stop_signal(); res.status = CORE_RPC_STATUS_OK; return true; } |