summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewGenerator.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-27 11:31:50 +0000
committerritsuka <[email protected]>2015-01-27 11:31:50 +0000
commit6823cb8cc2734ca388a9fcdec1e0e347fc4f32d0 (patch)
tree31bbb6ecb43536fee892119ac73a3eaec8aa6ab2 /macosx/HBPreviewGenerator.m
parente8550395291bf598efd72615301667cc464e4532 (diff)
MacGui: disable the cancel button while the queue is scanning because there isn't a way to pause the scan. Use hb_state param.workdone.error to signal the result of an encode operation.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6818 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPreviewGenerator.m')
-rw-r--r--macosx/HBPreviewGenerator.m2
1 files changed, 0 insertions, 2 deletions
diff --git a/macosx/HBPreviewGenerator.m b/macosx/HBPreviewGenerator.m
index 61ed448bb..a4dba01f3 100644
--- a/macosx/HBPreviewGenerator.m
+++ b/macosx/HBPreviewGenerator.m
@@ -218,8 +218,6 @@
- (void) dealloc
{
[self.core cancelEncode];
- [_core release];
- _core = nil;
[_picturePreviews release];
_picturePreviews = nil;