mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +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
1 changed files with 2 additions and 1 deletions
|
@ -304,7 +304,8 @@ namespace epee
|
||||||
std::cout << usage;
|
std::cout << usage;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exit_handler();
|
if (exit_handler)
|
||||||
|
exit_handler();
|
||||||
return true;
|
return true;
|
||||||
CATCH_ENTRY_L0("console_handler", false);
|
CATCH_ENTRY_L0("console_handler", false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue