aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-22 12:47:24 +0100
committerSven Gothel <[email protected]>2010-11-22 12:47:24 +0100
commitf3169b6cfb8d8b1ba741ad9dcef82ddde64e108a (patch)
treef3186b0f1b20e6edb8116574297d779859fd1709
parent4c3e9e258fae1161949dd14828c09f387bfd53d9 (diff)
JOGL/X11 Shutdown: Don't close pending Display connections since it may cause a SIGSEGV at JVM exit.
-rw-r--r--src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java b/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java
index d4df76315..4412a7a1c 100644
--- a/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java
+++ b/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java
@@ -394,7 +394,9 @@ public class X11GLXDrawableFactory extends GLDrawableFactoryImpl {
protected final void shutdownInstance() {
sharedResourcesRunner.releaseAndWait();
- X11Util.shutdown( true, DEBUG );
+ // Don't really close pending Display connections,
+ // since this may trigger a JVM exception
+ X11Util.shutdown( false, DEBUG );
}
protected final GLDrawableImpl createOnscreenDrawableImpl(NativeSurface target) {