vlc | branch: master | David Fuhrmann <[email protected]> | 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 <[email protected]>

> 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];
 }
 

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to