mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-06 05:39:17 +08:00
ENH: debug: when not release to public, use vectored exception handler
Change-Id: I2f80f07e035d6a6652574470ac13631baba7cf7d
This commit is contained in:
parent
c75ca06f01
commit
8183b7d333
@ -2603,7 +2603,7 @@ extern "C" {
|
|||||||
argv_ptrs[i] = argv_narrow[i].data();
|
argv_ptrs[i] = argv_narrow[i].data();
|
||||||
|
|
||||||
//BBS: register default exception handler
|
//BBS: register default exception handler
|
||||||
#if 1
|
#if BBL_RELEASE_TO_PUBLIC
|
||||||
SET_DEFULTER_HANDLER();
|
SET_DEFULTER_HANDLER();
|
||||||
#else
|
#else
|
||||||
AddVectoredExceptionHandler(1, CBaseException::UnhandledExceptionFilter);
|
AddVectoredExceptionHandler(1, CBaseException::UnhandledExceptionFilter);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user