[vlc-commits] macosx: fixed crash when log window is open while progress window is closing
David Fuhrmann
git at videolan.org
Mon Jan 9 18:15:11 CET 2012
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Mon Jan 9 13:35:16 2012 +0100| [69a6354729fe83768f0e117889bb415969c25f75] | committer: Felix Paul Kühne
macosx: fixed crash when log window is open while progress window is closing
Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=69a6354729fe83768f0e117889bb415969c25f75
---
modules/gui/macosx/intf.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 0d24c16..bfe6c32 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -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];
}
More information about the vlc-commits
mailing list