summaryrefslogtreecommitdiffstats
path: root/src/demos/es2
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es2')
-rwxr-xr-xsrc/demos/es2/RedSquare.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/es2/RedSquare.java b/src/demos/es2/RedSquare.java
index 2099fd0..975a3f9 100755
--- a/src/demos/es2/RedSquare.java
+++ b/src/demos/es2/RedSquare.java
@@ -149,7 +149,7 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo
}
window = null;
if(null!=nWindow) {
- nWindow.destroy();
+ nWindow.destroy(true);
nWindow=null;
}
System.out.println("SHUTDOWN "+Thread.currentThread()+" cleanly");