Commit 19d96830 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: use pl_Release() with pl_Yield(), no vlc_object_release().

parent 3c4e97e3
...@@ -1236,7 +1236,7 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -1236,7 +1236,7 @@ static VLCMain *_o_sharedMainInstance = nil;
var_AddCallback( p_playlist, "item-append", PlaylistChanged, self ); var_AddCallback( p_playlist, "item-append", PlaylistChanged, self );
var_AddCallback( p_playlist, "item-deleted", PlaylistChanged, self ); var_AddCallback( p_playlist, "item-deleted", PlaylistChanged, self );
vlc_object_release( p_playlist ); pl_Release( p_intf );
vlc_object_lock( p_intf ); vlc_object_lock( p_intf );
while( vlc_object_alive( p_intf ) ) while( vlc_object_alive( p_intf ) )
......
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