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