1
0
mirror of synced 2025-01-18 09:04:52 +01:00

patterns: Fixed crash when preprocessor throws an error

This commit is contained in:
WerWolv 2022-08-09 08:58:31 +02:00
parent e38b6ecd2c
commit 8ebbe6fb4e
2 changed files with 6 additions and 2 deletions

@ -1 +1 @@
Subproject commit b31e19dc7a55c824573f5e8c9df986469681b5b2
Subproject commit f1c58564f32b23e52a57ef2c1263223b3b773ddf

View File

@ -74,7 +74,11 @@ namespace hex {
// Let's not loop on this...
std::signal(signalNumber, nullptr);
std::raise(signalNumber);
#if defined(DEBUG)
assert(false);
#else
std::raise(signalNumber);
#endif
};
Window::Window() {