summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.m
diff options
context:
space:
mode:
authordynaflash <[email protected]>2010-03-26 15:03:11 +0000
committerdynaflash <[email protected]>2010-03-26 15:03:11 +0000
commit9fe5c90432484ec753c19f7767408b007f243aae (patch)
treed6105716b4d2c03a63b01274d4cb1cb02e571312 /macosx/Controller.m
parentff1bc2964476e2cbf22ed3dd7aa249a9cc77368b (diff)
MacGui: Add call to hb_global_close() upon application termination as per changes in rev 3170
- Also added a missing call to hb_close for the live preview encoding instance git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3171 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.m')
-rw-r--r--macosx/Controller.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index ce3e70a4d..db649f504 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -309,8 +309,10 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
[fPictureController release];
[fApplicationIcon release];
- hb_close(&fHandle);
+ hb_close(&fHandle);
hb_close(&fQueueEncodeLibhb);
+ hb_global_close();
+
}