aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMFileSystemKQueue.m
diff options
context:
space:
mode:
Diffstat (limited to 'Foundation/GTMFileSystemKQueue.m')
-rw-r--r--Foundation/GTMFileSystemKQueue.m2
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];