Differences From Artifact [b5282d84cd]:
- File
src/OFStreamObserver_kqueue.m
— part of check-in
[95fdb174f6]
at
2011-10-25 00:02:22
on branch trunk
— Always release the pool in -[OFStreamObserver observe].
Per convention, this would not be necessasry. However, a common
use case is to call -[observe] in a loop that never ends, thus
no pool below the one created in -[observe] will ever be released. (user: js, size: 3449) [annotate] [blame] [check-ins using]
To Artifact [c0876509a7]:
- File src/OFStreamObserver_kqueue.m — part of check-in [3626a9162c] at 2011-10-28 18:02:08 on branch trunk — Fix a missing import. (user: js, size: 3479) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
23 24 25 26 27 28 29 30 31 32 33 34 35 36 | #include <sys/types.h> #include <sys/event.h> #include <sys/time.h> #import "OFStreamObserver_kqueue.h" #import "OFDataArray.h" #import "OFInitializationFailedException.h" #import "OFOutOfMemoryException.h" #define EVENTLIST_SIZE 64 @implementation OFStreamObserver_kqueue | > | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #include <sys/types.h> #include <sys/event.h> #include <sys/time.h> #import "OFStreamObserver_kqueue.h" #import "OFDataArray.h" #import "OFAutoreleasePool.h" #import "OFInitializationFailedException.h" #import "OFOutOfMemoryException.h" #define EVENTLIST_SIZE 64 @implementation OFStreamObserver_kqueue |
︙ | ︙ |