mirror of
https://github.com/monero-project/monero.git
synced 2024-12-24 12:39:59 +00:00
Merge pull request #534
fefc0b5
daemon: fix crash exiting with ^C (moneromooo-monero)
This commit is contained in:
commit
90182daf8d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue