Disable problematic code
This commit is contained in:
parent
0d5e4d1e25
commit
3c3f1ed7b8
|
@ -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 couldn’t 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() {
|
||||
|
|
Loading…
Reference in New Issue