Commit 359200ba authored by David Fuhrmann's avatar David Fuhrmann Committed by Jean-Baptiste Kempf

macosx: fixed crash when log window is open while progress window is closing

Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
(cherry picked from commit 69a6354729fe83768f0e117889bb415969c25f75)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 8b1e0416
......@@ -441,7 +441,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:NO];
[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