Commit 3750211e authored by ilyak's avatar ilyak

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

parent 729b55be
......@@ -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
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