Add explicit assetLibrary.unload when calling Assets.unloadLibrary

This commit is contained in:
Joshua Granick
2015-07-14 21:33:41 -07:00
parent e9a579384f
commit 250d4b488b

View File

@@ -935,6 +935,7 @@ class Assets {
if (library != null) { if (library != null) {
cache.clear (name + ":"); cache.clear (name + ":");
library.unload ();
library.eventCallback = null; library.eventCallback = null;
} }
@@ -1140,6 +1141,13 @@ class AssetLibrary {
} }
private function unload ():Void {
}
} }