summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-10-22 19:19:53 +0800
committerErik Kundiman <erik@megapahit.org>2025-10-22 19:19:53 +0800
commitbde975ccc6919a05f526fc31cd187071543a51d9 (patch)
tree11ed210ddda29d17a4270cb1e6821d9afcfcb3b8 /indra/llwebrtc/llwebrtc.cpp
parentdc8cd76c98360e66833b298cdbdc423f3871c4e3 (diff)
parent57a9e51360aebf142bbbdc2663f68ebacfb7d8f5 (diff)
Merge tag 'Second_Life_Release#57a9e513-2025.07' into 2025.07
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 4f90abc616..7e2b5d2741 100644
--- a/indra/llwebrtc/llwebrtc.cpp
+++ b/indra/llwebrtc/llwebrtc.cpp
@@ -1511,6 +1511,10 @@ void freePeerConnection(LLWebRTCPeerConnectionInterface* peer_connection)
void init(LLWebRTCLogCallback* logCallback)
{
+ if (gWebRTCImpl)
+ {
+ return;
+ }
gWebRTCImpl = new LLWebRTCImpl(logCallback);
gWebRTCImpl->init();
}