[haiku-commits] r34299 - haiku/trunk/src/servers/registrar

  • From: superstippi@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 26 Nov 2009 22:23:29 +0100 (CET)

Author: stippi
Date: 2009-11-26 22:23:28 +0100 (Thu, 26 Nov 2009)
New Revision: 34299
Changeset: http://dev.haiku-os.org/changeset/34299/haiku

Modified:
   haiku/trunk/src/servers/registrar/ShutdownProcess.cpp
Log:
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.


Modified: haiku/trunk/src/servers/registrar/ShutdownProcess.cpp
===================================================================
--- haiku/trunk/src/servers/registrar/ShutdownProcess.cpp       2009-11-26 
21:00:48 UTC (rev 34298)
+++ haiku/trunk/src/servers/registrar/ShutdownProcess.cpp       2009-11-26 
21:23:28 UTC (rev 34299)
@@ -1715,7 +1715,7 @@
                                                "cancelled by team %ld (-1 => 
user)\n", eventTeam));
 
                                        if (!debugged)
-                                               _DisplayAbortingApp(team);
+                                               _DisplayAbortingApp(eventTeam);
                                        throw_error(B_SHUTDOWN_CANCELLED);
                                }
 


Other related posts:

  • » [haiku-commits] r34299 - haiku/trunk/src/servers/registrar - superstippi