diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 230fe3c..af23660 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -39,6 +39,7 @@ using libsecondlife.Packets; | |||
39 | using log4net; | 39 | using log4net; |
40 | using OpenSim.Framework; | 40 | using OpenSim.Framework; |
41 | using OpenSim.Framework.Communications.Cache; | 41 | using OpenSim.Framework.Communications.Cache; |
42 | using OpenSim.Framework.Statistics; | ||
42 | using OpenSim.Region.ClientStack.LindenUDP; | 43 | using OpenSim.Region.ClientStack.LindenUDP; |
43 | using OpenSim.Region.Environment.Scenes; | 44 | using OpenSim.Region.Environment.Scenes; |
44 | using Timer=System.Timers.Timer; | 45 | using Timer=System.Timers.Timer; |
@@ -729,6 +730,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
729 | if (e is ThreadAbortException) | 730 | if (e is ThreadAbortException) |
730 | throw e; | 731 | throw e; |
731 | 732 | ||
733 | if (StatsManager.SimExtraStats != null) | ||
734 | StatsManager.SimExtraStats.AddAbnormalClientThreadTermination(); | ||
735 | |||
732 | // Don't let a failure in an individual client thread crash the whole sim. | 736 | // Don't let a failure in an individual client thread crash the whole sim. |
733 | // FIXME: could do more sophisticated cleanup since leaving client resources around may | 737 | // FIXME: could do more sophisticated cleanup since leaving client resources around may |
734 | // cause instability for the region server over time. | 738 | // cause instability for the region server over time. |