mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
Call the cleanup after saving attachment states, so that the attachments
don't get killed before they can be saved
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user