diff options
| author | Rider Linden <rider@lindenlab.com> | 2026-03-04 15:08:11 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-04 15:08:11 -0800 |
| commit | ccc10aeda7a3db0fd53cb249b24d22049bae1b94 (patch) | |
| tree | 0e8c853be11efac8a3ab9f7155ba32238b3635fd /indra/newview/llsyntaxid.cpp | |
| parent | 2d77fdc672f52f36e511af52ae5b1f678799171d (diff) | |
| parent | 0c289bf27dcc40b9f41152b60408fa047ccf6f65 (diff) | |
Merge pull request #5383 from secondlife/rider/default_script
Rider/default script
Diffstat (limited to 'indra/newview/llsyntaxid.cpp')
| -rw-r--r-- | indra/newview/llsyntaxid.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/indra/newview/llsyntaxid.cpp b/indra/newview/llsyntaxid.cpp index d9b2726992..16274f59bc 100644 --- a/indra/newview/llsyntaxid.cpp +++ b/indra/newview/llsyntaxid.cpp @@ -148,9 +148,14 @@ void LLSyntaxIdLSL::fetchKeywordsFileCoro(std::string url, std::string fileSpec) if (isSupportedVersion(result)) { - setKeywordsXml(result); - cacheFile(fileSpec, result); - loadKeywordsIntoLLSD(); + // Shuttle this task to the main coro/worker. + // loadKeywordsIntoLLSD will attempt to get a mutex which is not coro aware. + LLAppViewer::instance()->postToMainCoro([this, result, fileSpec]() + { + setKeywordsXml(result); + cacheFile(fileSpec, result); + loadKeywordsIntoLLSD(); + }); } else { |
