diff --git a/jme3-android/src/main/java/com/jme3/view/surfaceview/JmeSurfaceView.java b/jme3-android/src/main/java/com/jme3/view/surfaceview/JmeSurfaceView.java index d364ab0923..6f2fe1f010 100644 --- a/jme3-android/src/main/java/com/jme3/view/surfaceview/JmeSurfaceView.java +++ b/jme3-android/src/main/java/com/jme3/view/surfaceview/JmeSurfaceView.java @@ -430,7 +430,8 @@ public void destroy() { onRendererCompleted = null; onExceptionThrown = null; onLayoutDrawn = null; - /*nullifying the static memory (pushing zero to registers to prepare for a clean use)*/ + /*nullifying the static memory*/ + JmeAndroidSystem.setView(null); GameState.setLegacyApplication(null); GameState.setFirstUpdatePassed(false); jmeSurfaceViewLogger.log(Level.INFO, "Context and Game have been destructed");