MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / disable

Method disable

platform/linuxbsd/crash_handler_linuxbsd.cpp:172–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172void CrashHandler::disable() {
173 if (disabled) {
174 return;
175 }
176
177#ifdef CRASH_HANDLER_ENABLED
178 signal(SIGSEGV, SIG_DFL);
179 signal(SIGFPE, SIG_DFL);
180 signal(SIGILL, SIG_DFL);
181#endif
182
183 disabled = true;
184}
185
186void CrashHandler::initialize() {
187#ifdef CRASH_HANDLER_ENABLED

Callers 1

disable_crash_handlerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected