We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33d2d11 commit 7b2ce2cCopy full SHA for 7b2ce2c
1 file changed
macosx/VDKQueue/VDKQueue.mm
@@ -39,8 +39,8 @@
39
/// This is a simple model class used to hold info about each path we watch.
40
@interface VDKQueuePathEntry : NSObject
41
42
-@property(atomic, copy) NSString* path;
43
-@property(atomic, assign) int watchedFD;
+@property(atomic, copy, readonly) NSString* path;
+@property(atomic, assign, readonly) int watchedFD;
44
@property(atomic, assign) u_int subscriptionFlags;
45
46
@end
@@ -69,7 +69,6 @@ - (void)dealloc
69
{
70
close(_watchedFD);
71
}
72
- _watchedFD = -1;
73
74
75
0 commit comments