mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-06 18:06:08 +00:00
null check in uncache method, use the original ABC object in recompile test
This commit is contained in:
@@ -2145,11 +2145,15 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
}
|
||||
|
||||
public static void uncache(ASMSource src) {
|
||||
src.getSwf().as2Cache.remove(src);
|
||||
if (src != null) {
|
||||
src.getSwf().as2Cache.remove(src);
|
||||
}
|
||||
}
|
||||
|
||||
public static void uncache(ScriptPack pack) {
|
||||
pack.getSwf().as3Cache.remove(pack);
|
||||
if (pack != null) {
|
||||
pack.getSwf().as3Cache.remove(pack);
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isCached(ASMSource src) {
|
||||
|
||||
Reference in New Issue
Block a user