Commit 55166973 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: thou shall not close AppKit windows off main thread

parent 0ed99820
......@@ -480,7 +480,7 @@ void updateProgressPanel (void *priv, const char *text, float value)
void destroyProgressPanel (void *priv)
{
NSAutoreleasePool *o_pool = [[NSAutoreleasePool alloc] init];
[[[VLCMain sharedInstance] coreDialogProvider] destroyProgressPanel];
[[[VLCMain sharedInstance] coreDialogProvider] performSelectorOnMainThread:@selector(destroyProgressPanel) withObject:nil waitUntilDone:YES];
[o_pool release];
}
......
Markdown is supported
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