mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
do not make UI call from other than main thread
This commit is contained in:
parent
de106ce4d9
commit
e203a6cbb4
1 changed files with 3 additions and 1 deletions
|
|
@ -484,7 +484,9 @@ static void hideSpinner(LinphoneCall *call, void *user_data) {
|
|||
|
||||
- (void)bluetoothAvailabilityUpdateEvent:(NSNotification *)notif {
|
||||
bool available = [[notif.userInfo objectForKey:@"available"] intValue];
|
||||
[self hideSpeaker:available];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self hideSpeaker:available];
|
||||
});
|
||||
}
|
||||
|
||||
- (void)callUpdateEvent:(NSNotification *)notif {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue