mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-19 05:23:00 +01:00
Made exception handler optional.
This commit is contained in:
@@ -552,6 +552,16 @@ namespace bx
|
||||
|
||||
#endif // BX_CONFIG_EXCEPTION_HANDLING_*
|
||||
|
||||
ExceptionHandler s_exceptionHandler;
|
||||
void installExceptionHandler()
|
||||
{
|
||||
static bool s_installed = false;
|
||||
|
||||
if (!s_installed)
|
||||
{
|
||||
s_installed = true;
|
||||
|
||||
static ExceptionHandler s_exceptionHandler;
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace bx
|
||||
|
||||
Reference in New Issue
Block a user