[vlc-commits] macOS: Warn for overwriting dealloc in NSAnimation category
Marvin Scholz
git at videolan.org
Thu Mar 16 09:26:48 CET 2017
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Mar 16 09:26:29 2017 +0100| [9951257c0f501b42daceb70c0f03b447ee74a605] | committer: Marvin Scholz
macOS: Warn for overwriting dealloc in NSAnimation category
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9951257c0f501b42daceb70c0f03b447ee74a605
---
modules/gui/macosx/misc.m | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/gui/macosx/misc.m b/modules/gui/macosx/misc.m
index 0db3b96..08d42f9 100644
--- a/modules/gui/macosx/misc.m
+++ b/modules/gui/macosx/misc.m
@@ -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));
More information about the vlc-commits
mailing list