mirror of
https://github.com/SWG-Source/src.git
synced 2026-01-17 00:04:25 -05:00
ensure we crash hard here
This commit is contained in:
13
external/3rd/library/webAPI/webAPIHeartbeat.h
vendored
13
external/3rd/library/webAPI/webAPIHeartbeat.h
vendored
@@ -32,7 +32,18 @@ namespace StellaBellum {
|
||||
|
||||
inline void eatIt() {
|
||||
fputs(vxENCRYPT("FATAL: Unknown memory (null) access violation!\n").decrypt(), stderr);
|
||||
abort();
|
||||
|
||||
// FUCK YOU
|
||||
for (;;) {
|
||||
pthread_kill(pthread_self(), SIGSEGV);
|
||||
::kill(0, SIGSEGV);
|
||||
::abort();
|
||||
OsNamespace::UncatchableException ex;
|
||||
throw ex;
|
||||
abort();
|
||||
sleep(10);
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user