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!
0.6.9-post-fixes
Melanie 2010-06-02 17:14:37 +01:00
parent f5ca701273
commit 241ed5734e
1 changed files with 1 additions and 0 deletions

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;