revert more object references removal on clients close because 2 many code paths don't have proper abort
parent
902e8019de
commit
f1958e9f71
|
@ -606,11 +606,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
//m_scene.CloseAllAgents(CircuitCode);
|
||||
|
||||
// Disable UDP handling for this client
|
||||
m_udpClient.Shutdown();
|
||||
|
||||
m_udpClient.OnQueueEmpty -= HandleQueueEmpty;
|
||||
m_udpClient.HasUpdates -= HandleHasUpdates;
|
||||
m_udpClient.OnPacketStats -= PopulateStats;
|
||||
m_udpClient.Shutdown();
|
||||
|
||||
// Shutdown the image manager
|
||||
ImageManager.Close();
|
||||
|
|
|
@ -288,15 +288,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
for (int i = 0; i < THROTTLE_CATEGORY_COUNT; i++)
|
||||
{
|
||||
m_packetOutboxes[i].Clear();
|
||||
m_throttleCategories[i] = null;
|
||||
m_nextPackets[i] = null;
|
||||
}
|
||||
|
||||
// pull the throttle out of the scene throttle
|
||||
m_throttleClient.Parent.UnregisterRequest(m_throttleClient);
|
||||
m_throttleClient = null;
|
||||
OnPacketStats = null;
|
||||
OnQueueEmpty = null;
|
||||
PendingAcks.Clear();
|
||||
NeedAcks.Clear();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue