mirror of
https://git.wownero.com/wownero/wownero.git
synced 2025-01-18 14:18:34 +00:00
console_handler: do not call a NULL function pointer
The exit_handler can be NULL.
This commit is contained in:
parent
b87e066f02
commit
e0278314d3
@ -304,6 +304,7 @@ namespace epee
|
||||
std::cout << usage;
|
||||
}
|
||||
}
|
||||
if (exit_handler)
|
||||
exit_handler();
|
||||
return true;
|
||||
CATCH_ENTRY_L0("console_handler", false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user