Get rid of issue where removing NPCs would through an exception by routing close through Scene.IncomingCloseAgent() and NPCAvatar.Close() rather than directly to Scene.RemoveClient().
This exception was actually harmless since it occurred at the very last stage of the remove client process.0.7.6-extended
parent
e5b1688913
commit
de6ad380f6
|
@ -385,7 +385,9 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
|||
m_log.DebugFormat("[NPC MODULE]: Found {0} {1} to remove",
|
||||
agentID, av.Name);
|
||||
*/
|
||||
scene.RemoveClient(agentID, false);
|
||||
|
||||
scene.IncomingCloseAgent(agentID, false);
|
||||
// scene.RemoveClient(agentID, false);
|
||||
m_avatars.Remove(agentID);
|
||||
/*
|
||||
m_log.DebugFormat("[NPC MODULE]: Removed NPC {0} {1}",
|
||||
|
|
Loading…
Reference in New Issue