When we wait for one team, but then another aborts the shutdown process,

we should make that team accountable, not the one we waited for. This should
not have been a real problem, but this is more correct anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34299 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-11-26 21:23:28 +00:00
parent dbba3d21f1
commit 50897e5fcf

View File

@ -1715,7 +1715,7 @@ ShutdownProcess::_QuitBlockingApp(AppInfoList& list, team_id team,
"cancelled by team %ld (-1 => user)\n", eventTeam));
if (!debugged)
_DisplayAbortingApp(team);
_DisplayAbortingApp(eventTeam);
throw_error(B_SHUTDOWN_CANCELLED);
}