diff options
Diffstat (limited to 'Foundation/GTMFileSystemKQueue.m')
-rw-r--r-- | Foundation/GTMFileSystemKQueue.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Foundation/GTMFileSystemKQueue.m b/Foundation/GTMFileSystemKQueue.m index 050d68f..ebb2ec8 100644 --- a/Foundation/GTMFileSystemKQueue.m +++ b/Foundation/GTMFileSystemKQueue.m @@ -85,11 +85,13 @@ static CFSocketRef gRunLoopSocket = NULL; return self; } +#if GTM_SUPPORT_GC - (void)finalize { [self unregisterWithKQueue]; [super finalize]; } +#endif - (void)dealloc { [self unregisterWithKQueue]; |