Applied patch by idefix:
Canceling the shutdown process will not blame the application that happened to be asked to quit at the time. Thanks a lot! (Fixes #3863) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34253 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1373,10 +1373,10 @@ ShutdownProcess::_WaitForApp(team_id team, AppInfoList* list, bool systemApps)
|
|||||||
if (eventTeam == team)
|
if (eventTeam == team)
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
PRINT(("ShutdownProcess::_QuitApps(): shutdown cancelled "
|
PRINT(("ShutdownProcess::_WaitForApp(): shutdown cancelled "
|
||||||
"by team %ld (-1 => user)\n", eventTeam));
|
"by team %ld (-1 => user)\n", eventTeam));
|
||||||
|
|
||||||
_DisplayAbortingApp(team);
|
_DisplayAbortingApp(eventTeam);
|
||||||
throw_error(B_SHUTDOWN_CANCELLED);
|
throw_error(B_SHUTDOWN_CANCELLED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user