mirror of
https://github.com/monero-project/monero.git
synced 2026-01-10 04:05:24 -08:00
fix ^D exit for bitmonerod
It uses the async console handler differently than simplewallet, and wasn't running the same exit code, causing it to never actually exit after breaking out of the console entry loop.
This commit is contained in:
@@ -62,7 +62,7 @@ public:
|
||||
|
||||
bool process_command_vec(const std::vector<std::string>& cmd);
|
||||
|
||||
bool start_handling();
|
||||
bool start_handling(std::function<void(void)> exit_handler = NULL);
|
||||
|
||||
void stop_handling();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user