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
This commit is contained in:
@@ -330,6 +330,7 @@ __glutDestroyAllWindows()
|
|||||||
}
|
}
|
||||||
gState.display->Lock();
|
gState.display->Lock();
|
||||||
gState.display->Quit();
|
gState.display->Quit();
|
||||||
|
gState.display->Unlock();
|
||||||
|
|
||||||
status_t ignored;
|
status_t ignored;
|
||||||
wait_for_thread(gState.appthread, &ignored);
|
wait_for_thread(gState.appthread, &ignored);
|
||||||
|
|||||||
Reference in New Issue
Block a user