Disable problematic code

This commit is contained in:
nielsandriesse 2020-12-09 14:59:14 +11:00
parent 0d5e4d1e25
commit 3c3f1ed7b8
1 changed files with 3 additions and 0 deletions

View File

@ -137,9 +137,12 @@ public class OWSAudioSession: NSObject {
// Without this delay, we sometimes error when deactivating the audio session with:
// Error Domain=NSOSStatusErrorDomain Code=560030580 The operation couldnt be completed. (OSStatus error 560030580.)
// aka "AVAudioSessionErrorCodeIsBusy"
// FIXME: The code below was causing a bug, and disabling it * seems * fine. Don't feel super confident about it though...
/*
DispatchQueue.global().asyncAfter(deadline: .now() + 0.5) {
self.ensureAudioSessionActivationState()
}
*/
}
private func ensureAudioSessionActivationState() {