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:
parent
1903443af7
commit
0d299e8a4b
|
@ -1672,6 +1672,9 @@ start_watching_team(team_id teamID, void (*hook)(team_id, void *), void *data)
|
|||
if (watcher == NULL)
|
||||
return B_NO_MEMORY;
|
||||
|
||||
watcher->hook = hook;
|
||||
watcher->data = data;
|
||||
|
||||
// find team and add watcher
|
||||
|
||||
state = disable_interrupts();
|
||||
|
|
Loading…
Reference in New Issue