mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-04 18:12:54 +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…
Reference in New Issue
Block a user