small fixes

This commit is contained in:
honfika@gmail.com
2015-03-07 21:01:41 +01:00
parent 46f73248bd
commit 9443e32c1b
6 changed files with 35 additions and 13 deletions

View File

@@ -318,12 +318,24 @@ public final class SWF implements SWFContainerItem, Timelined {
spriteTag.subTags.clear();
}
if (tag instanceof DefineBinaryDataTag) {
DefineBinaryDataTag binaryTag = (DefineBinaryDataTag) tag;
if (binaryTag.innerSwf != null) {
binaryTag.innerSwf.clearTagSwfs();
}
}
tag.setSwf(null);
}
tags.clear();
abcList.clear();
swfList.swfs.clear();
if (abcList != null) {
abcList.clear();
}
if (swfList != null) {
swfList.swfs.clear();
}
as2Cache.clear();
as3Cache.clear();