Added missing lock in EventQueue Enqueue.
parent
7eb9affbd3
commit
6a24d0eb2d
|
@ -177,7 +177,12 @@ namespace OpenSim.Region.CoreModules.Framework.EventQueue
|
|||
{
|
||||
Queue<OSD> queue = GetQueue(avatarID);
|
||||
if (queue != null)
|
||||
queue.Enqueue(ev);
|
||||
{
|
||||
lock (queue)
|
||||
{
|
||||
queue.Enqueue(ev);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch(NullReferenceException e)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue