You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As i recall, app.destroy() is called back by the system listener which is governed by application listeners, in this case there is a duplicate call to destroy() :
There should only be app.stop() which will naturally dispatch the context.destroy().
The proposed fix should move the legacyApplication.stop(!isGLThreadPaused()); to the ON_DESTROY instead of the direct call to destroy() and should call legacyApplication.destroy() inside the destroy().
The text was updated successfully, but these errors were encountered:
As i recall,
app.destroy()
is called back by the system listener which is governed by application listeners, in this case there is a duplicate call todestroy()
:jmonkeyengine/jme3-android/src/main/java/com/jme3/app/jmeSurfaceView/JmeSurfaceView.java
Line 363 in 3d979df
jmonkeyengine/jme3-android/src/main/java/com/jme3/app/jmeSurfaceView/JmeSurfaceView.java
Line 507 in 3d979df
There should only be
app.stop()
which will naturally dispatch the context.destroy().The proposed fix should move the
legacyApplication.stop(!isGLThreadPaused());
to theON_DESTROY
instead of the direct call to destroy() and should calllegacyApplication.destroy()
inside thedestroy()
.The text was updated successfully, but these errors were encountered: