Commit 2335e370 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: move code line from VLCMain to VLCMainMenu since it belongs there

parent 8a95e04e
......@@ -110,6 +110,8 @@ static VLCMainMenu *_o_sharedInstance = nil;
if( o_mu_playlistTableColumnsContextMenu )
[o_mu_playlistTableColumnsContextMenu release];
[self releaseRepresentedObjects:[NSApp mainMenu]];
[super dealloc];
}
......
......@@ -822,9 +822,6 @@ static VLCMain *_o_sharedMainInstance = nil;
/* write cached user defaults to disk */
[[NSUserDefaults standardUserDefaults] synchronize];
/* Make sure the Menu doesn't have any references to vlc objects anymore */
//FIXME: this should be moved to VLCMainMenu
[o_mainmenu releaseRepresentedObjects:[NSApp mainMenu]];
[o_mainmenu release];
libvlc_Quit( p_intf->p_libvlc );
......
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