fix iOS NSNotificationCenter removeObserver name which leads to NC deadlock for another operations

This commit is contained in:
ilyak
2021-02-17 15:12:21 +03:00
parent 729b55be97
commit 3750211e6d
+1 -1
View File
@@ -25653,7 +25653,7 @@ static ma_result ma_device__untrack__coreaudio(ma_device* pDevice)
-(void)remove_handler
{
[[NSNotificationCenter defaultCenter] removeObserver:self name:@"AVAudioSessionRouteChangeNotification" object:nil];
[[NSNotificationCenter defaultCenter] removeObserver:self name:AVAudioSessionRouteChangeNotification object:nil];
}
-(void)handle_route_change:(NSNotification*)pNotification