Browse Source

macosx: PLItems parent should be weak to avoid retain cycles

pull/35/head
David Fuhrmann 11 years ago
parent
commit
1ca35e8e31
  1. 2
      modules/gui/macosx/PLItem.h

2
modules/gui/macosx/PLItem.h

@ -28,7 +28,7 @@
@property(readonly, copy) NSMutableArray *children;
@property(readonly) int plItemId;
@property(readonly) input_item_t *input;
@property(readwrite, retain) PLItem *parent;
@property(readwrite, weak) PLItem *parent;
- (id)initWithPlaylistItem:(playlist_item_t *)p_item;

Loading…
Cancel
Save