Core/Misc: Replace std::abort with our ABORT macro

* libmysql is not a well behaved library on windows, it installs its own SIGABRT handler every time a new connection is opened, overriding our own

(cherry picked from commit 09dea76fb5)
This commit is contained in:
Shauren
2023-06-14 20:30:02 +02:00
parent 24fc0dcb1e
commit 4e6118c919
2 changed files with 6 additions and 6 deletions

View File

@@ -1510,7 +1510,7 @@ void LibraryUpdateListener::handleFileAction(efsw::WatchID watchid, std::string
reloader->QueueSharedLibraryChanged(path);
break;
default:
WPAbort();
ABORT();
break;
}
});
@@ -1600,7 +1600,7 @@ void SourceUpdateListener::handleFileAction(efsw::WatchID watchid, std::string c
reloader->QueueModifySourceFile(script_module_name_, path);
break;
default:
WPAbort();
ABORT();
break;
}
});