From 3f56c07d8f47b668082d3417dbeddfc20aad0913 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 14 Mar 2006 00:19:33 +0000 Subject: [PATCH] We use send_signal(..., SIGKILL) to kill a team instead of kill_team() now, since the latter one can hang. Closes bug #240. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16778 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/registrar/ShutdownProcess.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/servers/registrar/ShutdownProcess.cpp b/src/servers/registrar/ShutdownProcess.cpp index 6c120b6d7c..e22c754fd1 100644 --- a/src/servers/registrar/ShutdownProcess.cpp +++ b/src/servers/registrar/ShutdownProcess.cpp @@ -1608,7 +1608,7 @@ ShutdownProcess::_QuitNonApps() PRINT((" killing team %ld\n", teamInfo.team)); #ifdef __HAIKU__ - kill_team(teamInfo.team); + send_signal(teamInfo.team, SIGKILL); #else // We don't want to do this when testing under R5, since it // would kill all teams besides our app server and registrar. @@ -1676,7 +1676,7 @@ ShutdownProcess::_QuitBlockingApp(AppInfoList &list, team_id team, // kill the app PRINT((" killing team %ld\n", team)); - kill_team(team); + send_signal(team, SIGKILL); // remove the app (the roster will note eventually and send us // a notification, but we want to be sure)