summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2015-11-10 13:45:30 -0800
committerRider Linden <rider@lindenlab.com>2015-11-10 13:45:30 -0800
commit059925eafb66dc0e2d8ef9c113ca8980a34c655d (patch)
tree4189394ddc4257f9e448ed878d0b1b15766fa7a4 /indra/newview/llappviewer.cpp
parenta743d939071fbdbbf619f2e282419623da932322 (diff)
Added code to initiate controlled shutdown of plugins with timeouts for misbeahving plugin.
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rwxr-xr-xindra/newview/llappviewer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 03a8756ac8..f0cfd052cf 100755
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -1730,6 +1730,9 @@ bool LLAppViewer::cleanup()
// to ensure shutdown order
LLMortician::setZealous(TRUE);
+ // Give any remaining SLPlugin instances a chance to exit cleanly.
+ LLPluginProcessParent::shutdown();
+
LLVoiceClient::getInstance()->terminate();
disconnectViewer();