summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-04-23 02:00:27 +0200
committerMichael Bien <[email protected]>2010-04-23 02:00:27 +0200
commitb7bd092831a1ad7a660386c4c291cb363cd8ebb0 (patch)
treea52a2c5c34ecdfa91aa60f5615d36788259f1a28 /src/newt/classes/com
parentc9b12606cf57c4ef255d88a65eb713ff9167c6de (diff)
reviewed calls to lockSurface() and ensured propper unlocking.
Diffstat (limited to 'src/newt/classes/com')
-rwxr-xr-xsrc/newt/classes/com/jogamp/newt/Window.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/com/jogamp/newt/Window.java b/src/newt/classes/com/jogamp/newt/Window.java
index 5123ab19f..a3d034792 100755
--- a/src/newt/classes/com/jogamp/newt/Window.java
+++ b/src/newt/classes/com/jogamp/newt/Window.java
@@ -342,8 +342,8 @@ public abstract class Window implements NativeWindow
keyListeners = new ArrayList();
}
synchronized(this) {
+ destructionLock.lock();
try {
- destructionLock.lock();
Display dpy = null;
if( null != screen && 0 != windowHandle ) {
Screen scr = screen;