macosx: deinit VLCMain, fix retain cycles for InputManager and playlist
By deinitializing VLCMain, all connected objects are supposed to be deallocated automatically. If [VLCMain sharedInstance] is gone, the intf is deinitalized (this was previously checked with a nil value of VLCIntf). Fixes some retain cycles in input manager and playlist code which prevented these objects to be deinitalized.
Showing
- modules/gui/macosx/InputManager.m 1 addition, 1 deletionmodules/gui/macosx/InputManager.m
- modules/gui/macosx/PLModel.m 2 additions, 2 deletionsmodules/gui/macosx/PLModel.m
- modules/gui/macosx/intf.h 2 additions, 0 deletionsmodules/gui/macosx/intf.h
- modules/gui/macosx/intf.m 8 additions, 3 deletionsmodules/gui/macosx/intf.m
Loading
Please register or sign in to comment