Commit e6119f99 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Fix crash on Quit issue in Mac OS X

  This is really dirty btw. the OS X GUI module has some serious memory management issues.
parent 37658aca
...@@ -1373,25 +1373,22 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -1373,25 +1373,22 @@ static VLCMain *_o_sharedMainInstance = nil;
/* release some other objects here, because it isn't sure whether dealloc /* release some other objects here, because it isn't sure whether dealloc
* will be called later on -- FK (10/6/05) */ * will be called later on -- FK (10/6/05) */
if ( o_about ) if( nib_about_loaded && o_about )
[o_about release]; [o_about release];
if ( o_prefs ) if( nib_open_loaded && o_open )
[o_prefs release];
if ( o_open )
[o_open release]; [o_open release];
if ( o_extended ) if( nib_extended_loaded && o_extended )
{ {
[o_extended collapsAll]; [o_extended collapsAll];
[o_extended release]; [o_extended release];
} }
if ( o_bookmarks ) if( nib_bookmarks_loaded && o_bookmarks )
[o_bookmarks release]; [o_bookmarks release];
if ( o_wizard ) if( nib_wizard_loaded && o_wizard )
[o_wizard release]; [o_wizard release];
if( o_img_pause_pressed != nil ) if( o_img_pause_pressed != nil )
......
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