mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Bugfix counting ntimes a descriptor is added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3331 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c217f740ba
commit
b8e8d08f4e
1 changed files with 1 additions and 3 deletions
|
@ -594,10 +594,8 @@ static int debug_run_loop = 0;
|
||||||
info = [[RunLoopWatcher alloc] initWithType: type
|
info = [[RunLoopWatcher alloc] initWithType: type
|
||||||
receiver: watcher
|
receiver: watcher
|
||||||
data: data];
|
data: data];
|
||||||
/* Add the object to the array for the mode and keep count. */
|
/* Add the object to the array for the mode. */
|
||||||
[self _addWatcher:info forMode:mode];
|
[self _addWatcher:info forMode:mode];
|
||||||
info->count++;
|
|
||||||
|
|
||||||
[info release]; /* Now held in array. */
|
[info release]; /* Now held in array. */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue