fix mac RTL and app termination deadlock
This commit is contained in:
@@ -220,10 +220,8 @@ std::mutex task_mutex;
|
||||
|
||||
- (void)terminateGL
|
||||
{
|
||||
CGLLockContext([[self openGLContext] CGLContextObj]);
|
||||
App::I.terminate();
|
||||
CGLUnlockContext([[self openGLContext] CGLContextObj]);
|
||||
CVDisplayLinkRelease(dl);
|
||||
App::I.terminate();
|
||||
}
|
||||
|
||||
// This is the renderer output callback function
|
||||
|
||||
Reference in New Issue
Block a user