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

keychain coordinator: add missing main thread guard

parent c657a743
......@@ -2,6 +2,7 @@ iOS 2.7.6:
----------
* Prevent playing the wrong file on PLEX shares
* Fix hue video filter
* Improved stability when unlocking app using Touch ID
iOS 2.7.5:
----------
......
......@@ -157,6 +157,11 @@ NSString *const VLCPasscode = @"org.videolan.vlc-ios.passcode";
- (void)PAPasscodeViewControllerDidEnterPasscode:(PAPasscodeViewController *)controller
{
if (![NSThread isMainThread]) {
[self performSelectorOnMainThread:@selector(PAPasscodeViewControllerDidEnterPasscode:) withObject:controller waitUntilDone:NO];
return;
}
[[NSNotificationCenter defaultCenter] postNotificationName:VLCPasscodeValidated object:self];
VLCAppDelegate *appDelegate = (VLCAppDelegate *)[UIApplication sharedApplication].delegate;
......
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