The team watching mechanism now works as intended.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13892 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1672,6 +1672,9 @@ start_watching_team(team_id teamID, void (*hook)(team_id, void *), void *data)
|
|||||||
if (watcher == NULL)
|
if (watcher == NULL)
|
||||||
return B_NO_MEMORY;
|
return B_NO_MEMORY;
|
||||||
|
|
||||||
|
watcher->hook = hook;
|
||||||
|
watcher->data = data;
|
||||||
|
|
||||||
// find team and add watcher
|
// find team and add watcher
|
||||||
|
|
||||||
state = disable_interrupts();
|
state = disable_interrupts();
|
||||||
|
|||||||
Reference in New Issue
Block a user