mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
revert more object references removal on clients close because 2 many code paths don't have proper abort
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user