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

master
UbitUmarov 2020-05-26 13:23:06 +01:00
parent 0a48da85a3
commit 8a9ebe48ce
1 changed files with 1 additions and 3 deletions

View File

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