Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

Saúl Ibarra Corretgée1b989e99bd9
diff --git a/ios/sdk/src/callkit/JMCallKitProxy.swift b/ios/sdk/src/callkit/JMCallKitProxy.swift
index 5a823d9c49..2d97ac001a 100644
--- a/ios/sdk/src/callkit/JMCallKitProxy.swift
+++ b/ios/sdk/src/callkit/JMCallKitProxy.swift
@@ -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
}
}
+