From 6bee3c14b50914800c6f7af47aad798ad9b4e648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Thu, 11 Dec 2008 22:54:04 +0000 Subject: [PATCH] unlock the application after calling Quit(): this fixes #3188. Not sure it's the best fix. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28801 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/opengl/glut/glutWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kits/opengl/glut/glutWindow.cpp b/src/kits/opengl/glut/glutWindow.cpp index 6c1de40189..01816c89fc 100644 --- a/src/kits/opengl/glut/glutWindow.cpp +++ b/src/kits/opengl/glut/glutWindow.cpp @@ -330,6 +330,7 @@ __glutDestroyAllWindows() } gState.display->Lock(); gState.display->Quit(); + gState.display->Unlock(); status_t ignored; wait_for_thread(gState.appthread, &ignored);