An Objective-C wrapper for Mac OS X’s FSEvents C API.
Revisión | 21eb0374773744e8f801cdd637eb49ad202aedf5 (tree) |
---|---|
Tiempo | 2010-04-04 03:02:03 |
Autor | Aron Cedercrantz <aron@cede...> |
Commiter | Aron Cedercrantz |
Added calls to the dispose event stream method in the dealloc and finalize methods.
@@ -60,7 +60,7 @@ static void CDEventsCallback( | ||
60 | 60 | #pragma mark Init/dealloc/finalize methods |
61 | 61 | - (void)dealloc |
62 | 62 | { |
63 | - [self stopWatchingURLs]; | |
63 | + [self disposeEventStream]; | |
64 | 64 | |
65 | 65 | _delegate = nil; |
66 | 66 |
@@ -73,7 +73,7 @@ static void CDEventsCallback( | ||
73 | 73 | |
74 | 74 | - (void)finalize |
75 | 75 | { |
76 | - [self stopWatchingURLs]; | |
76 | + [self disposeEventStream]; | |
77 | 77 | |
78 | 78 | _delegate = nil; |
79 | 79 |