Call the cleanup after saving attachment states, so that the attachments
don't get killed before they can be savedavinationmerge
parent
512a13dbe7
commit
4e324ae3cb
|
@ -3199,7 +3199,6 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
m_log.Debug("[Scene] Beginning ClientClosed");
|
||||
m_eventManager.TriggerClientClosed(agentID, this);
|
||||
m_log.Debug("[Scene] Finished ClientClosed");
|
||||
CleanDroppedAttachments();
|
||||
}
|
||||
catch (NullReferenceException)
|
||||
{
|
||||
|
@ -3210,6 +3209,9 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
m_log.Debug("[Scene] Beginning OnRemovePresence");
|
||||
m_eventManager.TriggerOnRemovePresence(agentID);
|
||||
m_log.Debug("[Scene] Finished OnRemovePresence");
|
||||
|
||||
CleanDroppedAttachments();
|
||||
|
||||
ForEachClient(
|
||||
delegate(IClientAPI client)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue