mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-06 12:25:11 +00:00
Fixed #1875 Garbage collect SWF and its caches after closing it
This commit is contained in:
@@ -459,7 +459,15 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
clearScriptCache();
|
||||
frameCache.clear();
|
||||
soundCache.clear();
|
||||
|
||||
|
||||
clearImageCache();
|
||||
clearShapeCache();
|
||||
clearAbcListCache();
|
||||
|
||||
characters = null;
|
||||
characterIdTags = null;
|
||||
externalImages2 = null;
|
||||
|
||||
timeline = null;
|
||||
if (dumpInfo != null) {
|
||||
clearDumpInfo(dumpInfo);
|
||||
@@ -2827,6 +2835,7 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
public void clearAllCache() {
|
||||
characters = null;
|
||||
characterIdTags = null;
|
||||
externalImages2 = null;
|
||||
timeline = null;
|
||||
cyclicCharacters = null;
|
||||
clearReadOnlyListCache();
|
||||
|
||||
Reference in New Issue
Block a user