Synchronize the release of resources with the game thread
Synchronize the release of resources with the game thread

After calling GameThread.terminate(), the game activity is not destroyed
until onEngineDisposed() finishes releasing all resources.
GameThread.terminate() should be called from the UI thread.

miviclin/droidengine2d