aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-12-15 15:21:00 +0200
committerRiccardo Spagni <ric@spagni.net>2015-12-15 15:21:37 +0200
commit90182daf8dcb7e6e8f06dad1b51f89cfd16c4d6b (patch)
treec1e602cc022e2073b61e72d699029aaadcd43a97
parentMerge pull request #533 (diff)
parentdaemon: fix crash exiting with ^C (diff)
downloadmonero-90182daf8dcb7e6e8f06dad1b51f89cfd16c4d6b.tar.xz
Merge pull request #534
fefc0b5 daemon: fix crash exiting with ^C (moneromooo-monero)
-rw-r--r--src/daemon/daemon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp
index 6a5943c8b..8a1f08c10 100644
--- a/src/daemon/daemon.cpp
+++ b/src/daemon/daemon.cpp
@@ -114,7 +114,7 @@ bool t_daemon::run(bool interactive)
{
throw std::runtime_error{"Can't run stopped daemon"};
}
- tools::signal_handler::install(std::bind(&daemonize::t_daemon::stop, this));
+ tools::signal_handler::install(std::bind(&daemonize::t_daemon::stop_p2p, this));
try
{