aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-12-04 12:27:45 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-12-04 12:27:45 +0000
commit3f7d6fb57d1bfb5ee806d3facc1261efe3ad14a0 (patch)
treeaaba7673e6e097e75e9f2ea7ae04e98cc8126bd2 /src/p2p
parentMerge pull request #1372 (diff)
downloadmonero-3f7d6fb57d1bfb5ee806d3facc1261efe3ad14a0.tar.xz
Fix delayed exit when syncing
Diffstat (limited to 'src/p2p')
-rw-r--r--src/p2p/net_node.inl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index b5bfc2979..38ff78949 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -654,6 +654,7 @@ namespace nodetool
template<class t_payload_net_handler>
bool node_server<t_payload_net_handler>::send_stop_signal()
{
+ m_payload_handler.stop();
m_net_server.send_stop_signal();
LOG_PRINT_L0("[node] Stop signal sent");
return true;