From 50897e5fcf99fe79d4c8785fc6a65cbe044ffa72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Thu, 26 Nov 2009 21:23:28 +0000 Subject: [PATCH] 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 --- src/servers/registrar/ShutdownProcess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/registrar/ShutdownProcess.cpp b/src/servers/registrar/ShutdownProcess.cpp index 89d3e3c6ac..86d3ba722f 100644 --- a/src/servers/registrar/ShutdownProcess.cpp +++ b/src/servers/registrar/ShutdownProcess.cpp @@ -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); }