fastjengine / FastJ

An open-source, Java-based 2D game engine.

Home Page:https://fastj.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Source Code]: SceneManager never resets its scenes upon closing

lucasstarsz opened this issue · comments

What's Up?

When a SceneManager is reset, its Scene instances should not only be cleared, but first reset so that the Scene can release any resources and actions which can hold up the JVM.

The following tasks need to be completed:

  • Add call to Scene.reset for each scene in SceneManager during a call to SceneManager.reset

Code of Conduct

  • I agree to follow FastJ's Code of Conduct