mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
Fix resume scripts.
On resume, we need to place requeue the script for event processing if there are any events on the queue. Also need to do this under m_Script lock in order to avoid a race
This commit is contained in:
@@ -946,7 +946,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
if (!m_Scripts.ContainsKey(itemID))
|
||||
return;
|
||||
|
||||
instance=m_Scripts[itemID];
|
||||
instance = m_Scripts[itemID];
|
||||
m_Scripts.Remove(itemID);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user