diff options
author | Michael Bien <[email protected]> | 2010-04-23 02:00:27 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-04-23 02:00:27 +0200 |
commit | b7bd092831a1ad7a660386c4c291cb363cd8ebb0 (patch) | |
tree | a52a2c5c34ecdfa91aa60f5615d36788259f1a28 /src/newt/classes/com | |
parent | c9b12606cf57c4ef255d88a65eb713ff9167c6de (diff) |
reviewed calls to lockSurface() and ensured propper unlocking.
Diffstat (limited to 'src/newt/classes/com')
-rwxr-xr-x | src/newt/classes/com/jogamp/newt/Window.java | 2 |
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; |