diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-12-06 22:03:53 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-12-06 22:03:53 +0000 |
commit | 4cede1830e02966cf0a51f0425b7cf8a2bf13bce (patch) | |
tree | e8dec4142533d32386c36188ebeb742c88aaa618 /src | |
parent | Merge pull request #518 (diff) | |
download | monero-4cede1830e02966cf0a51f0425b7cf8a2bf13bce.tar.xz |
console_handler: catch exception inside the input loop
This prevents an exception from existing the loop without
calling the exit handler, if one is defined.
The daemon defines one, which stops the p2p layer, and will
only exit once the p2p layer is shut down. This would cause
a hang upon an exception, as the input thread would have
exited and the daemon would wait forever with no console
user input.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions