Commit 65a1d4e9 authored by Simon Morlat's avatar Simon Morlat
Browse files

Fix crash with MSOSXGLDisplay, happening when running test suites on MacOS.

2 merge requests!1033fix DTLS mutex creation,!1025Fix crash with MSOSXGLDisplay, happening when running test suites on MacOS.
Showing with 1 addition and 3 deletions
......@@ -385,9 +385,7 @@ static void osx_gl_process(MSFilter* f) {
static void osx_gl_uninit(MSFilter* f) {
OSXDisplay* thiz = (OSXDisplay*) f->data;
if (thiz != nil) {
NSAutoreleasePool *loopPool = [[NSAutoreleasePool alloc] init];
[thiz release];
[loopPool drain];
[thiz performSelectorOnMainThread:@selector(release) withObject:nil waitUntilDone:FALSE];
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment