mirror of
https://github.com/revanced/Apktool.git
synced 2025-06-12 05:07:41 +02:00
Prevent closing objects that may not exist.
This commit is contained in:
@ -286,7 +286,9 @@ public class ApkDecoder {
|
||||
}
|
||||
|
||||
public void close() throws IOException {
|
||||
mAndrolib.close();
|
||||
if (mAndrolib != null) {
|
||||
mAndrolib.close();
|
||||
}
|
||||
}
|
||||
|
||||
public final static short DECODE_SOURCES_NONE = 0x0000;
|
||||
|
@ -819,7 +819,9 @@ final public class AndrolibResources {
|
||||
}
|
||||
|
||||
public void close() throws IOException {
|
||||
mFramework.close();
|
||||
if (mFramework != null) {
|
||||
mFramework.close();
|
||||
}
|
||||
}
|
||||
|
||||
public ApkOptions apkOptions;
|
||||
|
Reference in New Issue
Block a user