Commit 48897cfc authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed crash on quit while the video plays in the detached window

parent 9b3cf5b9
......@@ -1705,7 +1705,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
- (void)setActiveVideoPlayback:(BOOL)b_value
{
b_active_videoplayback = b_value;
[o_mainwindow setVideoplayEnabled];
[o_mainwindow performSelectorOnMainThread:@selector(setVideoplayEnabled) withObject: nil waitUntilDone:NO];
[o_mainwindow performSelectorOnMainThread:@selector(togglePlaylist:) withObject: nil waitUntilDone:NO];
}
......
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