Browse Source

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

master
Saúl Ibarra Corretgé 6 years ago
parent
commit
e1b989e99b
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      ios/sdk/src/callkit/JMCallKitProxy.swift

+ 4
- 1
ios/sdk/src/callkit/JMCallKitProxy.swift View File

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

Loading…
Cancel
Save