Add explanatory comments

This commit is contained in:
dan 2023-03-02 17:08:22 +01:00
parent 5a0954af84
commit c1d1b111f2
1 changed files with 2 additions and 0 deletions

View File

@ -10702,6 +10702,8 @@ int main(int argc, char* argv[])
tools::signal_handler::install([&w](int type) {
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.deinit();
_exit(0);