diff options
author | UbitUmarov | 2017-05-23 04:05:31 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-23 04:05:31 +0100 |
commit | f3eb73926e1602f855f2c7fceb040b07f7265f3b (patch) | |
tree | b873442fcad6dfc6b82f347445ddd6adfac53787 /OpenSim/Framework/Monitoring | |
parent | please DIE! PLEASE?? (diff) | |
download | opensim-SC_OLD-f3eb73926e1602f855f2c7fceb040b07f7265f3b.zip opensim-SC_OLD-f3eb73926e1602f855f2c7fceb040b07f7265f3b.tar.gz opensim-SC_OLD-f3eb73926e1602f855f2c7fceb040b07f7265f3b.tar.bz2 opensim-SC_OLD-f3eb73926e1602f855f2c7fceb040b07f7265f3b.tar.xz |
stop a few more threads on exit
Diffstat (limited to 'OpenSim/Framework/Monitoring')
-rw-r--r-- | OpenSim/Framework/Monitoring/WorkManager.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Framework/Monitoring/WorkManager.cs b/OpenSim/Framework/Monitoring/WorkManager.cs index 43130f9..a3e0390 100644 --- a/OpenSim/Framework/Monitoring/WorkManager.cs +++ b/OpenSim/Framework/Monitoring/WorkManager.cs | |||
@@ -82,6 +82,11 @@ namespace OpenSim.Framework.Monitoring | |||
82 | HandleControlCommand); | 82 | HandleControlCommand); |
83 | } | 83 | } |
84 | 84 | ||
85 | public static void Stop() | ||
86 | { | ||
87 | JobEngine.Stop(); | ||
88 | } | ||
89 | |||
85 | /// <summary> | 90 | /// <summary> |
86 | /// Start a new long-lived thread. | 91 | /// Start a new long-lived thread. |
87 | /// </summary> | 92 | /// </summary> |
@@ -131,7 +136,6 @@ namespace OpenSim.Framework.Monitoring | |||
131 | 136 | ||
132 | thread.Start(); | 137 | thread.Start(); |
133 | 138 | ||
134 | |||
135 | return thread; | 139 | return thread; |
136 | } | 140 | } |
137 | 141 | ||