Merge pull request #534
fefc0b5
daemon: fix crash exiting with ^C (moneromooo-monero)
This commit is contained in:
commit
90182daf8d
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue