aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XMREngine/XMRScriptThread.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/XMREngine/XMRScriptThread.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/XMREngine/XMRScriptThread.cs b/OpenSim/Region/ScriptEngine/XMREngine/XMRScriptThread.cs
index a1238db..ddb3698 100644
--- a/OpenSim/Region/ScriptEngine/XMREngine/XMRScriptThread.cs
+++ b/OpenSim/Region/ScriptEngine/XMREngine/XMRScriptThread.cs
@@ -105,7 +105,8 @@ namespace OpenSim.Region.ScriptEngine.XMREngine
105 { 105 {
106 m_Exiting = true; 106 m_Exiting = true;
107 WakeUpScriptThread(); 107 WakeUpScriptThread();
108 thd.Join(); 108 if(!thd.Join(250))
109 thd.Abort();
109 lock (m_AllThreads) 110 lock (m_AllThreads)
110 m_AllThreads.Remove (thd); 111 m_AllThreads.Remove (thd);
111 112