From 7bba3cda9cc3ebe2f72a7543beb6f6c418558784 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Wed, 1 Apr 2026 19:27:39 -0400 Subject: [PATCH] Fixes infinite loop --- .../vitorpamplona/amethyst/service/call/WebRtcCallSession.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/call/WebRtcCallSession.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/call/WebRtcCallSession.kt index db832d665..aa9784449 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/call/WebRtcCallSession.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/call/WebRtcCallSession.kt @@ -86,7 +86,7 @@ class WebRtcCallSession( rtcConfig, object : PeerConnection.Observer { override fun onIceCandidate(candidate: IceCandidate?) { - candidate?.let { onIceCandidate(it) } + candidate?.let { this@WebRtcCallSession.onIceCandidate(it) } } override fun onIceCandidatesRemoved(candidates: Array?) {}