MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Exit

Method Exit

Source/Engine/Engine/Engine.cpp:257–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257void Engine::Exit(int32 exitCode, FatalErrorType error)
258{
259 ASSERT(IsInMainThread());
260 FatalError = error;
261
262 // Call on exit event
263 OnExit();
264
265 // Exit application
266 exit(exitCode);
267}
268
269void Engine::RequestExit(int32 exitCode, FatalErrorType error)
270{

Callers

nothing calls this directly

Calls 1

IsInMainThreadFunction · 0.85

Tested by

no test coverage detected