summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-08-25 22:15:09 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-08-25 23:05:20 +0300
commit4ef9f8f14b35ed388c294d53767a0dca0e890924 (patch)
tree8655da5ace177e8e45522c33c1f51df52b9c7390 /indra
parentf6f5cd0f888dd8ec53821aa4f26e307b51465da0 (diff)
#6109 StopRecording() crash
Diffstat (limited to 'indra')
-rw-r--r--indra/llwebrtc/llwebrtc.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llwebrtc/llwebrtc.cpp b/indra/llwebrtc/llwebrtc.cpp
index b33cb054d4..5b322d1b5d 100644
--- a/indra/llwebrtc/llwebrtc.cpp
+++ b/indra/llwebrtc/llwebrtc.cpp
@@ -892,7 +892,9 @@ void LLWebRTCImpl::updateDevices()
void LLWebRTCImpl::OnDevicesUpdated()
{
- updateDevices();
+ // OnDevicesUpdated() is called on macOS CoreAudio's device-change callback
+ // thread. Calling updateDevices() on that thread causes a deadlock.
+ mWorkerThread->PostTask([this] { updateDevices(); });
}