aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-06 22:03:53 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-06 22:03:53 +0000
commit4cede1830e02966cf0a51f0425b7cf8a2bf13bce (patch)
treee8dec4142533d32386c36188ebeb742c88aaa618 /src
parent0252ffc37b9a87cbd0582ad32ab725c87b943f2c (diff)
downloadmonzero-core-4cede1830e02966cf0a51f0425b7cf8a2bf13bce.tar.gz
monzero-core-4cede1830e02966cf0a51f0425b7cf8a2bf13bce.tar.xz
monzero-core-4cede1830e02966cf0a51f0425b7cf8a2bf13bce.zip
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