From 3ae350b7e226fe3c8cff53a52f5885f032074c56 Mon Sep 17 00:00:00 2001 From: Deficuet Date: Sat, 21 Jan 2023 18:29:29 -0700 Subject: [PATCH] Update UnityAssetManager.kt --- src/main/kotlin/io/github/deficuet/unitykt/UnityAssetManager.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/io/github/deficuet/unitykt/UnityAssetManager.kt b/src/main/kotlin/io/github/deficuet/unitykt/UnityAssetManager.kt index b460bcbb..f09cb9ae 100644 --- a/src/main/kotlin/io/github/deficuet/unitykt/UnityAssetManager.kt +++ b/src/main/kotlin/io/github/deficuet/unitykt/UnityAssetManager.kt @@ -159,6 +159,7 @@ class UnityAssetManager: Closeable { fun closeAll() { managers.forEach { it.close() } + managers.clear() } } } \ No newline at end of file