Skip to content

Commit 4acf640

Browse files
UE4SSnarknon
authored andcommitted
fix: Disabled SEH until we can figure out why the handler causes instability
1 parent 52362a9 commit 4acf640

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

UE4SS/include/ExceptionHandling.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
printf_s("Internal Error: %s\n", e.what()); \
1616
}
1717

18+
// Defining empty TRY/EXCEPT to disable the system.
19+
// This is because people have reported instability with it enabled.
20+
#define SEH_TRY(Code) Code
21+
#define SEH_EXCEPT(...)
22+
1823
// These macros should never be used in header files because you are required to include Windows.h.
1924
#ifdef _WIN32
2025
#ifndef SEH_TRY

0 commit comments

Comments
 (0)