mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -08:00
remove cap session i/o before release; causes core dumps on 3G
git-svn-id: https://zxing.googlecode.com/svn/trunk@2302 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
dccbd28954
commit
4f1c884797
|
@ -371,6 +371,12 @@ static bool isIPad();
|
|||
}
|
||||
|
||||
- (void)dealloc {
|
||||
if (input && session) {
|
||||
[session removeInput:input];
|
||||
}
|
||||
if (output && session) {
|
||||
[session removeOutput:output];
|
||||
}
|
||||
[captureToFilename release];
|
||||
[binary release];
|
||||
[luminance release];
|
||||
|
|
Loading…
Reference in a new issue