diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-10-11 19:26:45 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-10-11 19:26:45 +0300 |
commit | 66b5e49a7950962a1d1793c21f2714b125f8c47d (patch) | |
tree | 179a9693e410585445bdd3b60eee9a236838e67d /indra | |
parent | c1943e5efb18a0786a538237eee4bee8a7330e56 (diff) |
SL-16161 Don't process new plugin messages on shutdown #2
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llplugin/llpluginprocessparent.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llplugin/llpluginprocessparent.cpp b/indra/llplugin/llpluginprocessparent.cpp index 7a704b71f3..c39ac815c0 100644 --- a/indra/llplugin/llpluginprocessparent.cpp +++ b/indra/llplugin/llpluginprocessparent.cpp @@ -408,10 +408,10 @@ void LLPluginProcessParent::idle(void) mMessagePipe->pumpOutput(); // Only do input processing here if this instance isn't in a pollset. - // If we are shutting down plugin, owner is null and we can't process - // input, we are here only to send shutdown_plugin message + // If viewer and plugin are both shutting down, don't process further + // input, viewer won't be able to handle it. if(!mPolledInput - && mState != STATE_GOODBYE) + && !(mState >= STATE_GOODBYE && LLApp::isExiting())) { mMessagePipe->pumpInput(); } |