[NSApp run];
[[VLCMain sharedInstance] applicationWillTerminate:nil];
-
+ [o_appLock release];
[o_pool release];
}
/* release some other objects here, because it isn't sure whether dealloc
* will be called later on */
- [o_mainmenu release];
-
if( o_sprefs )
[o_sprefs release];
/* 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];
/* Kill the playlist, so that it doesn't accept new request
* such as the play request from vlc.c (we are a blocking interface). */