getting rid of issue where state preserved on screens.
This commit is contained in:
@@ -776,6 +776,7 @@
|
||||
(defn release-resources [screen]
|
||||
(doseq [resource (:resources screen)]
|
||||
(asset-manager! *asset-manager* :unload resource))
|
||||
(update! screen :resources [])
|
||||
(app! :log "info"(str "Released resources " (.getDiagnostics *asset-manager*))))
|
||||
|
||||
(defn make-anim-seq
|
||||
|
||||
Reference in New Issue
Block a user