mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
* Switched to a plain lock for the ClientManager collections and protected the TryGetValues with try/catch instead of a lock
* Added ClientManager.ForEachSync() for operations that need to run synchronously, such as "show connections"
This commit is contained in:
@@ -152,7 +152,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
m_throttleRates = new ThrottleRates(configSource);
|
||||
}
|
||||
|
||||
public new void Start()
|
||||
public void Start()
|
||||
{
|
||||
if (m_scene == null)
|
||||
throw new InvalidOperationException("[LLUDPSERVER]: Cannot LLUDPServer.Start() without an IScene reference");
|
||||
@@ -817,6 +817,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
private void LogoutHandler(IClientAPI client)
|
||||
{
|
||||
client.SendLogoutPacket();
|
||||
if (client.IsActive)
|
||||
RemoveClient(((LLClientView)client).UDPClient);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user