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:
parent
abb72bec4b
commit
a612f3c2ae
@ -1373,10 +1373,10 @@ ShutdownProcess::_WaitForApp(team_id team, AppInfoList* list, bool systemApps)
|
||||
if (eventTeam == team)
|
||||
return false;
|
||||
} else {
|
||||
PRINT(("ShutdownProcess::_QuitApps(): shutdown cancelled "
|
||||
PRINT(("ShutdownProcess::_WaitForApp(): shutdown cancelled "
|
||||
"by team %ld (-1 => user)\n", eventTeam));
|
||||
|
||||
_DisplayAbortingApp(team);
|
||||
_DisplayAbortingApp(eventTeam);
|
||||
throw_error(B_SHUTDOWN_CANCELLED);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user