Merge pull request #534

fefc0b5 daemon: fix crash exiting with ^C (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2015-12-15 15:21:00 +02:00
commit 90182daf8d
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -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
{