MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / ExitMainLoop

Method ExitMainLoop

olcPixelGameEngine.h:7335–7343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7333 }
7334
7335 static void ExitMainLoop() {
7336 if (!ptrPGE->OnUserDestroy()) {
7337 *bActiveRef = true;
7338 return;
7339 }
7340 platform->ThreadCleanUp();
7341 platform->ApplicationCleanUp();
7342 exit(0);
7343 }
7344
7345#if defined(__APPLE__)
7346 static void scrollWheelUpdate(id selff, SEL _sel, id theEvent) {

Callers

nothing calls this directly

Calls 3

OnUserDestroyMethod · 0.80
ThreadCleanUpMethod · 0.45
ApplicationCleanUpMethod · 0.45

Tested by

no test coverage detected