Commit d71bf1bd authored by Felix Paul Kühne's avatar Felix Paul Kühne

Fix runtime exception

parent 89c849ce
......@@ -644,6 +644,11 @@ typedef NS_ENUM(NSInteger, VLCPanType) {
- (void)idleTimerExceeded
{
if (![NSThread isMainThread]) {
[self performSelectorOnMainThread:@selector(idleTimerExceeded) withObject:nil waitUntilDone:NO];
return;
}
_idleTimer = nil;
if (!_controlsHidden)
[self toggleControlsVisible];
......
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