mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
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"};
|
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
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user