From c2ea92687f2ef8522f3f44cfa31248eea21a29f5 Mon Sep 17 00:00:00 2001 From: dynaflash <dynaflashtech@gmail.com> Date: Tue, 9 Mar 2010 14:58:02 +0000 Subject: [PATCH] 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://svn.handbrake.fr/HandBrake/trunk@3155 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/Controller.m | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index cd5461250..ce3e70a4d 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 ); -- 2.40.0