mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-20 16:57:34 +01:00
close reader as well if syntax error
This commit is contained in:
parent
d6e676c583
commit
1c33fba646
@ -83,6 +83,7 @@ public class SmaliMod {
|
||||
|
||||
if (parser.getNumberOfSyntaxErrors() > 0 || lexer.getNumberOfSyntaxErrors() > 0) {
|
||||
is.close();
|
||||
reader.close();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user