Skip to content

Commit 86b6d59

Browse files
authored
JmeSurfaceView.java: documentation enhances
1 parent 02c3b53 commit 86b6d59

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jme3-android/src/main/java/com/jme3/view/surfaceview/JmeSurfaceView.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -415,14 +415,13 @@ public void loseFocus() {
415415

416416
@Override
417417
public void destroy() {
418-
/*skip the destroy block if the invoking instance is null*/
419418
if (glSurfaceView != null) {
420419
removeGLSurfaceView();
421420
}
422421
if (legacyApplication != null) {
423422
legacyApplication.destroy();
424423
}
425-
/*help the Dalvik Garbage collector to destruct the pointers, by making them nullptr*/
424+
/*help the Dalvik Garbage collector to destruct the objects, by releasing their references*/
426425
/*context instances*/
427426
legacyApplication = null;
428427
appSettings = null;

0 commit comments

Comments
 (0)