Commit 1a884934 authored by Felix Paul Kühne's avatar Felix Paul Kühne

keychain coordinator: add missing main thread guard

(cherry picked from commit f868413e)
parent 77e69c62
......@@ -3,6 +3,20 @@ iOS 2.8.0:
* Added support for NFS shares
* Added Bonjour discovery for SMB shares
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:
----------
* Improved SMB reliability
tvOS 1.0.4:
-----------
* Improved SMB reliability
iOS 2.7.3:
----------
* General stability improvements and bug fixes
......
......@@ -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