Skip to content

Implement CMD+Q handler on Mac OSX #3301

Description

@codeanticode

On the OpenGL renderer, quitting the running sketch using CMD+Q on Mac (sometimes) gives:

java.lang.ThreadDeath
    at java.lang.Thread.stop(Thread.java:850)
    at com.jogamp.newt.opengl.GLWindow$GLLifecycleHook$1.run(GLWindow.java:645)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.jogamp.newt.opengl.GLWindow$GLLifecycleHook.shutdownRenderingAction(GLWindow.java:640)
    at jogamp.newt.WindowImpl.shutdown(WindowImpl.java:334)
    at jogamp.newt.WindowImpl.shutdownAll(WindowImpl.java:121)
    at jogamp.newt.DisplayImpl$1.run(DisplayImpl.java:73)
    at com.jogamp.nativewindow.NativeWindowFactory.shutdown(NativeWindowFactory.java:269)
    at com.jogamp.nativewindow.NativeWindowFactory$2$1.run(NativeWindowFactory.java:187)
    at java.lang.Thread.run(Thread.java:745)

Metadata

Metadata

Assignees

Labels

criticalHighest possible priority for the next releasemacosx

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions