{"action":"reopened","issue":{"url":"https://api.github.com/repos/processing/processing/issues/3293","labels_url":"https://api.github.com/repos/processing/processing/issues/3293/labels{/name}","comments_url":"https://api.github.com/repos/processing/processing/issues/3293/comments","events_url":"https://api.github.com/repos/processing/processing/issues/3293/events","html_url":"https://github.com/processing/processing/issues/3293","id":77455958,"number":3293,"title":"Quitting P3D sketch throws an error","user":{"login":"cdaein","id":3522003,"avatar_url":"https://avatars.githubusercontent.com/u/3522003?v=3","gravatar_id":"","url":"https://api.github.com/users/cdaein","html_url":"https://github.com/cdaein","followers_url":"https://api.github.com/users/cdaein/followers","following_url":"https://api.github.com/users/cdaein/following{/other_user}","gists_url":"https://api.github.com/users/cdaein/gists{/gist_id}","starred_url":"https://api.github.com/users/cdaein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdaein/subscriptions","organizations_url":"https://api.github.com/users/cdaein/orgs","repos_url":"https://api.github.com/users/cdaein/repos","events_url":"https://api.github.com/users/cdaein/events{/privacy}","received_events_url":"https://api.github.com/users/cdaein/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/processing/processing/labels/critical","name":"critical","color":"e10c02"}],"state":"open","locked":false,"assignee":{"login":"codeanticode","id":62246,"avatar_url":"https://avatars.githubusercontent.com/u/62246?v=3","gravatar_id":"","url":"https://api.github.com/users/codeanticode","html_url":"https://github.com/codeanticode","followers_url":"https://api.github.com/users/codeanticode/followers","following_url":"https://api.github.com/users/codeanticode/following{/other_user}","gists_url":"https://api.github.com/users/codeanticode/gists{/gist_id}","starred_url":"https://api.github.com/users/codeanticode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeanticode/subscriptions","organizations_url":"https://api.github.com/users/codeanticode/orgs","repos_url":"https://api.github.com/users/codeanticode/repos","events_url":"https://api.github.com/users/codeanticode/events{/privacy}","received_events_url":"https://api.github.com/users/codeanticode/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-05-18T01:47:32Z","updated_at":"2015-05-19T18:05:50Z","closed_at":null,"body":"Processing 3.0a8, MacOSX Yosemite\r\n\r\nQutting P3D sketch with CMD+Q throws an error.\r\n\r\nSample code:\r\n```\r\nvoid setup() {\r\n  size(400, 400, P3D);\r\n}\r\n\r\nvoid draw() {\r\n  background(random(255));\r\n}\r\n```\r\n\r\nError message:\r\n```\r\njava.lang.ClassCastException: java.lang.ThreadDeath cannot be cast to java.lang.RuntimeException\r\n\tat processing.opengl.PSurfaceJOGL$2.run(PSurfaceJOGL.java:272)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```\r\n\r\nIf I quit with the stop button on the PDE, there's no issue."}}