mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
Put guards on a bunch of exception-inducing code, as seen in logs from load test.
This commit is contained in:
@@ -81,6 +81,11 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser
|
||||
|
||||
public void OnConnectionClose(IClientAPI client)
|
||||
{
|
||||
if (client == null)
|
||||
return;
|
||||
if (client.SceneAgent == null)
|
||||
return;
|
||||
|
||||
if (client.SceneAgent.IsChildAgent)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user