summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2025-10-17 17:06:39 -0400
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2025-10-17 17:06:39 -0400
commitbbc2ad8fc50b2efb19a40a2db57043690addc492 (patch)
treecd52ee85740d6cf788e918187c2b7c196407a7a6 /indra/llwebrtc/llwebrtc.cpp
parent01a799495b93cb9f7d5b9298bfb57afc99e47e1b (diff)
parentaec7bf19ebffd9d6b60c68e31de723eabd6aa98a (diff)
Merge remote-tracking branch 'origin/main' into geenz/main-to-develop
Diffstat (limited to 'indra/llwebrtc/llwebrtc.cpp')
-rw-r--r--indra/llwebrtc/llwebrtc.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llwebrtc/llwebrtc.cpp b/indra/llwebrtc/llwebrtc.cpp
index f93ad07c1f..b9f126e511 100644
--- a/indra/llwebrtc/llwebrtc.cpp
+++ b/indra/llwebrtc/llwebrtc.cpp
@@ -1540,6 +1540,10 @@ void freePeerConnection(LLWebRTCPeerConnectionInterface* peer_connection)
void init(LLWebRTCLogCallback* logCallback)
{
+ if (gWebRTCImpl)
+ {
+ return;
+ }
gWebRTCImpl = new LLWebRTCImpl(logCallback);
gWebRTCImpl->init();
}