After aborting a thread, wait for it to actually finish. EXPERIMENTAL for OSG

testing. DO NOT UPDATE TO THIS UNLESS YOU KNOW WHAT YOU'RE DOING!
This commit is contained in:
Melanie
2010-06-02 17:14:37 +01:00
parent f5ca701273
commit 241ed5734e

View File

@@ -536,6 +536,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
if (!m_InSelfDelete)
result.Abort();
result.Wait(TimeSpan.FromSeconds(10));
lock (m_EventQueue)
{
m_CurrentResult = null;