#4651 Distinguish logout crashes from other crashes

meow-7.2.2
Andrey Kleshchev 2025-11-06 20:16:55 +02:00
parent 3694df79bf
commit 4e78b4c9fe
1 changed files with 8 additions and 1 deletions

View File

@ -179,7 +179,14 @@ namespace
// If marker doesn't exist, create a marker with 'other' code for next launch
// otherwise don't override existing file
// Any unmarked crashes will be considered as freezes
app->createErrorMarker(LAST_EXEC_OTHER_CRASH);
if (app->logoutRequestSent())
{
app->createErrorMarker(LAST_EXEC_LOGOUT_CRASH);
}
else
{
app->createErrorMarker(LAST_EXEC_OTHER_CRASH);
}
}
} // MDSCB_EXCEPTIONCODE