summaryrefslogtreecommitdiff
path: root/indra/llplugin/llpluginprocesschild.cpp
diff options
context:
space:
mode:
authorHecklezz <tj8@live.com.au>2026-09-08 20:42:53 +1000
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-09-08 21:04:38 +0300
commitd5d5fd815f2833bdc968d35a213a12380ac0dec6 (patch)
tree7037242a64dd056ebc5f01c1b535d38feb9f9f10 /indra/llplugin/llpluginprocesschild.cpp
parentf4d9d23927368884ffbd859fb4a9e8886ff5004a (diff)
Fix SLPlugin error when it unloads libcef
Diffstat (limited to 'indra/llplugin/llpluginprocesschild.cpp')
-rw-r--r--indra/llplugin/llpluginprocesschild.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llplugin/llpluginprocesschild.cpp b/indra/llplugin/llpluginprocesschild.cpp
index a854ced7aa..6c15200886 100644
--- a/indra/llplugin/llpluginprocesschild.cpp
+++ b/indra/llplugin/llpluginprocesschild.cpp
@@ -241,8 +241,10 @@ void LLPluginProcessChild::idle(void)
case STATE_UNLOADED:
killSockets();
- delete mInstance;
- mInstance = NULL;
+ // Deleting mInstance here causes apr_dso_unload() to trigger a fault on SLPlugin when it unloads libcef
+ // Instead, let the process exit on its own and allow the OS reclaim the memory to prevent the error
+ //delete mInstance;
+ //mInstance = NULL;
setState(STATE_DONE);
break;