* Stop locking the scene presences dictionary for the entire agent crossing part of the login sequence

* This may alleviate a little the freezing experienced by existing avatars when a new client logs in
* Race condition risks look minimal since one wouldn't expect another thread to start fiddling with that presence
This commit is contained in:
Justin Clarke Casey
2008-11-12 18:12:18 +00:00
parent 4b5e09a36b
commit e2ab576572
2 changed files with 20 additions and 14 deletions

View File

@@ -740,8 +740,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
{
//this.UploadAssets = new AgentAssetUpload(this, m_assetCache, m_inventoryCache);
// Establish our two timers. We could probably get this down to one
// Ping the client regularly to check that it's still there
m_clientPingTimer = new Timer(5000);
m_clientPingTimer.Elapsed += CheckClientConnectivity;