summaryrefslogtreecommitdiffstats
path: root/src/demos/es2/RedSquare.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es2/RedSquare.java')
-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 12b2a5a..980697d 100755
--- a/src/demos/es2/RedSquare.java
+++ b/src/demos/es2/RedSquare.java
@@ -144,7 +144,7 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo
public void shutdown() {
try {
// Shut things down cooperatively
- window.destroy();
+ window.destroy(true);
window = null;
if(null!=nWindow) {
nWindow.destroy(true);