We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02c3b53 commit 86b6d59Copy full SHA for 86b6d59
jme3-android/src/main/java/com/jme3/view/surfaceview/JmeSurfaceView.java
@@ -415,14 +415,13 @@ public void loseFocus() {
415
416
@Override
417
public void destroy() {
418
- /*skip the destroy block if the invoking instance is null*/
419
if (glSurfaceView != null) {
420
removeGLSurfaceView();
421
}
422
if (legacyApplication != null) {
423
legacyApplication.destroy();
424
425
- /*help the Dalvik Garbage collector to destruct the pointers, by making them nullptr*/
+ /*help the Dalvik Garbage collector to destruct the objects, by releasing their references*/
426
/*context instances*/
427
legacyApplication = null;
428
appSettings = null;
0 commit comments