[vlc-devel] [PATCH] macosx: fixed crash when log window is open while progress window is closing
David Fuhrmann
david.fuhrmann at googlemail.com
Mon Jan 9 13:35:16 CET 2012
---
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];
}
--
1.7.5.4
More information about the vlc-devel
mailing list