* _get_next_thread_info() should be a bit more picky about its team needs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33741 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3db9c51942
commit
6390c0ca80
@ -2470,6 +2470,9 @@ _get_next_thread_info(team_id teamID, int32 *_cookie, thread_info *info,
|
||||
else
|
||||
team = team_get_team_struct_locked(teamID);
|
||||
|
||||
if (team == NULL)
|
||||
return B_BAD_VALUE;
|
||||
|
||||
struct thread* thread = NULL;
|
||||
|
||||
if (lastID == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user