Commit 9951257c authored by Marvin Scholz's avatar Marvin Scholz

macOS: Warn for overwriting dealloc in NSAnimation category

parent 2e87ed38
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment