diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-06-11 10:27:30 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-06-11 10:27:36 +0200 |
commit | f89cf1df87889d67dcd30c6e7ea954732e222f9c (patch) | |
tree | dfbd2824defe10755997e197c8c6866c92828837 /src/daemon/daemon.cpp | |
parent | Merge pull request #303 (diff) | |
parent | fix ^D exit for bitmonerod (diff) | |
download | monero-f89cf1df87889d67dcd30c6e7ea954732e222f9c.tar.xz |
Merge pull request #308
35b160e fix ^D exit for bitmonerod (moneromooo-monero)
Diffstat (limited to 'src/daemon/daemon.cpp')
-rw-r--r-- | src/daemon/daemon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp index 7931ba03f..2bd592611 100644 --- a/src/daemon/daemon.cpp +++ b/src/daemon/daemon.cpp @@ -126,7 +126,7 @@ bool t_daemon::run(bool interactive) if (interactive) { rpc_commands = new daemonize::t_command_server(0, 0, false, mp_internals->rpc.get_server()); - rpc_commands->start_handling(); + rpc_commands->start_handling(std::bind(&daemonize::t_daemon::stop, this)); } mp_internals->p2p.run(); // blocks until p2p goes down |