Commit 1ca35e8e authored by David Fuhrmann's avatar David Fuhrmann

macosx: PLItems parent should be weak to avoid retain cycles

parent c746ac5d
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
@property(readonly, copy) NSMutableArray *children; @property(readonly, copy) NSMutableArray *children;
@property(readonly) int plItemId; @property(readonly) int plItemId;
@property(readonly) input_item_t *input; @property(readonly) input_item_t *input;
@property(readwrite, retain) PLItem *parent; @property(readwrite, weak) PLItem *parent;
- (id)initWithPlaylistItem:(playlist_item_t *)p_item; - (id)initWithPlaylistItem:(playlist_item_t *)p_item;
......
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