Add explicit assetLibrary.unload when calling Assets.unloadLibrary
This commit is contained in:
@@ -935,6 +935,7 @@ class Assets {
|
||||
if (library != null) {
|
||||
|
||||
cache.clear (name + ":");
|
||||
library.unload ();
|
||||
library.eventCallback = null;
|
||||
|
||||
}
|
||||
@@ -1140,6 +1141,13 @@ class AssetLibrary {
|
||||
}
|
||||
|
||||
|
||||
private function unload ():Void {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user