mantis 8708: dont bother updating something abotu to be deleted ( and that was also wrong)

This commit is contained in:
UbitUmarov
2020-05-26 13:23:06 +01:00
parent 0a48da85a3
commit 8a9ebe48ce

View File

@@ -1183,6 +1183,7 @@ namespace OpenSim.Region.Framework.Scenes
// Check to see if Dispose has already been called.
if (!disposed)
{
disposed = true;
IsDeleted = true;
if (m_updateAgentReceivedAfterTransferEvent != null)
{
@@ -1209,9 +1210,6 @@ namespace OpenSim.Region.Framework.Scenes
scriptedcontrols.Clear();
ControllingClient = null;
LifecycleState = ScenePresenceState.Removed;
disposed = true;
}
}