mirror of
https://github.com/monero-project/monero.git
synced 2025-01-13 05:39:28 -05:00
Add explanatory comments
This commit is contained in:
parent
5a0954af84
commit
c1d1b111f2
@ -10702,6 +10702,8 @@ int main(int argc, char* argv[])
|
|||||||
tools::signal_handler::install([&w](int type) {
|
tools::signal_handler::install([&w](int type) {
|
||||||
if (tools::password_container::is_prompting.load())
|
if (tools::password_container::is_prompting.load())
|
||||||
{
|
{
|
||||||
|
// Runs the full exit routine after receiving Ctrl-C
|
||||||
|
// In current state we're incapable of gracefully exiting from here without major redesign, hence the blunt approach
|
||||||
w.stop();
|
w.stop();
|
||||||
w.deinit();
|
w.deinit();
|
||||||
_exit(0);
|
_exit(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user