diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-01-08 16:18:19 -0800 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-01-08 16:18:19 -0800 |
commit | a708d820e810a894f1687a84a602495bde5fef57 (patch) | |
tree | d3b7d88fdb3b2a06b7b88bd4ac57b49cac94c370 /indra/llplugin | |
parent | 55aba555f518e73cf90e22623f32ac4e52a0b723 (diff) | |
parent | 6a1a93be1addb3cdb86fd163046a051344312cf2 (diff) |
Merge
Diffstat (limited to 'indra/llplugin')
-rw-r--r-- | indra/llplugin/llpluginprocesschild.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/llplugin/llpluginprocesschild.cpp b/indra/llplugin/llpluginprocesschild.cpp index ccf6dab942..07fc82c770 100644 --- a/indra/llplugin/llpluginprocesschild.cpp +++ b/indra/llplugin/llpluginprocesschild.cpp @@ -54,8 +54,14 @@ LLPluginProcessChild::~LLPluginProcessChild() if(mInstance != NULL) { sendMessageToPlugin(LLPluginMessage("base", "cleanup")); - delete mInstance; - mInstance = NULL; + + // IMPORTANT: under some (unknown) circumstances the apr_dso_unload() triggered when mInstance is deleted + // appears to fail and lock up which means that a given instance of the slplugin process never exits. + // This is bad, especially when users try to update their version of SL - it fails because the slplugin + // process as well as a bunch of plugin specific files are locked and cannot be overwritten. + exit( 0 ); + //delete mInstance; + //mInstance = NULL; } } |