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
parent
f5ca701273
commit
241ed5734e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue