When a shared module hooks OnClientClosed, it has no way of finding

out which client connection has closed. So, in multi-region sims, things
can get messy fast.
This introduces a second parameters, which is a Scene object ref. Minor
adjustments to custom modules may be required due to this change.
This commit is contained in:
Melanie Thielker
2009-06-19 20:46:17 +00:00
parent 19b52d13e2
commit e4d26d7bfa
9 changed files with 13 additions and 13 deletions

View File

@@ -2246,7 +2246,7 @@ namespace OpenSim.Region.Framework.Scenes
m_sceneGridService.SendCloseChildAgentConnections(agentID, regions);
}
m_eventManager.TriggerClientClosed(agentID);
m_eventManager.TriggerClientClosed(agentID, this);
}
catch (NullReferenceException)
{