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
This commit is contained in:
parent
8896266062
commit
3f56c07d8f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user