Remove an unnecessary check at the bottom of Scene.CloseAgent()
At this point sp != null so no check required.mb-throttle-test
parent
bde60cc92e
commit
c015cb3134
|
@ -4467,14 +4467,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
sp.LifecycleState = ScenePresenceState.Removing;
|
sp.LifecycleState = ScenePresenceState.Removing;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sp != null)
|
sp.ControllingClient.Close(force);
|
||||||
{
|
|
||||||
sp.ControllingClient.Close(force);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Agent not here
|
return true;
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue