summaryrefslogtreecommitdiffstats
path: root/src/demos/es2
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-04-23 02:50:10 +0200
committerSven Gothel <[email protected]>2010-04-23 02:50:10 +0200
commit0cd9dad723fb1eae0b30bab9f36318bbd0f2ee3d (patch)
treecf516b212cf99ae9c1570e85ab09ded7a3a61b94 /src/demos/es2
parent4b64268876f5da41bd7c9deb04191b2145b573e8 (diff)
Fix: delete Newt window completly (deep)
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");