From 321fdf61aa5734cdc07432edad2e15a32f727b52 Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Sat, 7 Jun 2008 14:33:05 +0200 Subject: [PATCH] Ensure processCommandQueueDidFinish: gets called if exception is raised --- src/MacVim/MMVimController.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/MacVim/MMVimController.m b/src/MacVim/MMVimController.m index c1bb02aa9c..9edc0884ce 100644 --- a/src/MacVim/MMVimController.m +++ b/src/MacVim/MMVimController.m @@ -547,13 +547,12 @@ static NSTimeInterval MMResendInterval = 0.5; [self handleMessage:msgid data:data]; } //NSLog(@"======== %s END ========", _cmd); - - [windowController processCommandQueueDidFinish]; } @catch (NSException *e) { NSLog(@"Exception caught whilst processing command queue: %@", e); } + [windowController processCommandQueueDidFinish]; inProcessCommandQueue = NO; if ([sendQueue count] > 0) {