aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-05-24 22:17:04 +0100
committerUbitUmarov2017-05-24 22:17:04 +0100
commitdca3a45803a18103113b9eb861da4f79572de924 (patch)
tree71b2dad54f62c9e0ff5e0df5383c2d7be5121520 /OpenSim/Framework/Util.cs
parentmantis 8780 replace ode bins for linux with ones compiled against older Glibc... (diff)
downloadopensim-SC_OLD-dca3a45803a18103113b9eb861da4f79572de924.zip
opensim-SC_OLD-dca3a45803a18103113b9eb861da4f79572de924.tar.gz
opensim-SC_OLD-dca3a45803a18103113b9eb861da4f79572de924.tar.bz2
opensim-SC_OLD-dca3a45803a18103113b9eb861da4f79572de924.tar.xz
add a bit more pre exit cleanup
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Util.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index f6ded04..3342df3 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -2852,6 +2852,16 @@ namespace OpenSim.Framework
2852 return stpi; 2852 return stpi;
2853 } 2853 }
2854 2854
2855 public static void StopThreadPool()
2856 {
2857 if (m_ThreadPool == null)
2858 return;
2859 SmartThreadPool pool = m_ThreadPool;
2860 m_ThreadPool = null;
2861
2862 try { pool.Shutdown(); } catch {}
2863 }
2864
2855 #endregion FireAndForget Threading Pattern 2865 #endregion FireAndForget Threading Pattern
2856 2866
2857 /// <summary> 2867 /// <summary>