macOS: Warn for overwriting dealloc in NSAnimation category
authorMarvin Scholz <epirat07@gmail.com>
Thu, 16 Mar 2017 08:26:29 +0000 (09:26 +0100)
committerMarvin Scholz <epirat07@gmail.com>
Thu, 16 Mar 2017 08:26:29 +0000 (09:26 +0100)
modules/gui/macosx/misc.m

index 0db3b96..08d42f9 100644 (file)
@@ -49,6 +49,7 @@ static NSMapTable *VLCAdditions_userInfo = NULL;
     VLCAdditions_userInfo = NSCreateMapTable(NSNonRetainedObjectMapKeyCallBacks, NSObjectMapValueCallBacks, 16);
 }
 
+#warning FIXME: Dealloc is replaced, this seems like a very bad idea.
 - (void)dealloc
 {
     NSMapRemove(VLCAdditions_userInfo, (__bridge const void * __nullable)(self));