ios: make sure our CXProvider is invalidated when CallKit is disabled

This commit is contained in:
Saúl Ibarra Corretgé 2019-02-13 16:40:25 +01:00 committed by Saúl Ibarra Corretgé
parent 070a34e30d
commit e1b989e99b
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,6 @@
/*
* Copyright @ 2018-present Atlassian Pty Ltd
* Copyright @ 2019-present 8x8, Inc.
* Copyright @ 2018-2019 Atlassian Pty Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -53,6 +54,7 @@ import Foundation
didSet {
if enabled == false {
provider.setDelegate(nil, queue: nil)
provider.invalidate()
}
}
}
@ -187,3 +189,4 @@ import Foundation
return update
}
}