Add Requesting engine exit event. Expose Fatal erro and requesting exit to c#

This commit is contained in:
Chandler Cox
2024-08-07 12:16:07 -05:00
parent 0b03a5da0d
commit 03de914dbc
5 changed files with 22 additions and 1 deletions

View File

@@ -271,6 +271,7 @@ void PlatformBase::Fatal(const Char* msg, void* context)
Globals::FatalErrorOccurred = true;
Globals::IsRequestingExit = true;
Globals::ExitCode = -1;
Engine::RequestingExit();
// Collect crash info (platform-dependant implementation that might collect stack trace and/or create memory dump)
{