mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
Guard against null ref
This commit is contained in:
@@ -351,7 +351,8 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
|
||||
aPollRequest poolreq = m_queue.Dequeue();
|
||||
|
||||
poolreq.thepoll.Process(poolreq);
|
||||
if (poolreq != null && poolreq.thepoll != null)
|
||||
poolreq.thepoll.Process(poolreq);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user