Call the cleanup after saving attachment states, so that the attachments

don't get killed before they can be saved
viewer-2-initial-appearance
Melanie 2010-11-08 02:38:15 +00:00
parent 2f58d56137
commit 4f6dd8bda3
1 changed files with 3 additions and 1 deletions

View File

@ -3154,7 +3154,6 @@ namespace OpenSim.Region.Framework.Scenes
}
m_eventManager.TriggerClientClosed(agentID, this);
CleanDroppedAttachments();
}
catch (NullReferenceException)
{
@ -3163,6 +3162,9 @@ namespace OpenSim.Region.Framework.Scenes
}
m_eventManager.TriggerOnRemovePresence(agentID);
CleanDroppedAttachments();
ForEachClient(
delegate(IClientAPI client)
{