From: dynaflash Date: Tue, 9 Mar 2010 14:58:02 +0000 (+0000) Subject: MacGui: Fix pending encodes left in queue at quit warning that was borked in 3154. X-Git-Url: http://git.osdn.jp/view?a=commitdiff_plain;h=96214cd6203085933c0dc1dabacecbdd847d7fba;p=handbrake-jp%2Fhandbrake-jp-git.git MacGui: Fix pending encodes left in queue at quit warning that was borked in 3154. - applicationShouldTerminate was trying to call a method that was removed in that revision which then aborted the rest of the shutdown logic. git-svn-id: svn://localhost/HandBrake/trunk@3155 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/macosx/Controller.m b/macosx/Controller.m index cd546125..ce3e70a4 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -262,15 +262,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It - (NSApplicationTerminateReply) applicationShouldTerminate: (NSApplication *) app { - /* if we are in preview full screen mode, we need to go to - * windowed mode and release the display before we terminate. - * We do it here (instead of applicationWillTerminate) so we - * release the displays and can then see the alerts below. - */ - if ([fPictureController previewFullScreenMode] == YES) - { - [fPictureController previewGoWindowed:nil]; - } + hb_state_t s; hb_get_state( fQueueEncodeLibhb, &s );