aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs14
1 files changed, 9 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index 1a30619..e199f30 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -60,7 +60,6 @@ namespace OpenSim.Region.ClientStack
60 //private AgentAssetUpload UploadAssets; 60 //private AgentAssetUpload UploadAssets;
61 private LLUUID newAssetFolder = LLUUID.Zero; 61 private LLUUID newAssetFolder = LLUUID.Zero;
62 private int debug = 0; 62 private int debug = 0;
63 private ClientManager m_clientManager;
64 private AssetCache m_assetCache; 63 private AssetCache m_assetCache;
65 // private InventoryCache m_inventoryCache; 64 // private InventoryCache m_inventoryCache;
66 private int cachedtextureserial = 0; 65 private int cachedtextureserial = 0;
@@ -162,6 +161,7 @@ namespace OpenSim.Region.ClientStack
162 161
163 /* METHODS */ 162 /* METHODS */
164 163
164 /* TODO: pull out clientManager param */
165 public ClientView(EndPoint remoteEP, UseCircuitCodePacket initialcirpack, ClientManager clientManager, 165 public ClientView(EndPoint remoteEP, UseCircuitCodePacket initialcirpack, ClientManager clientManager,
166 IScene scene, AssetCache assetCache, PacketServer packServer, 166 IScene scene, AssetCache assetCache, PacketServer packServer,
167 AgentCircuitManager authenSessions) 167 AgentCircuitManager authenSessions)
@@ -169,7 +169,6 @@ namespace OpenSim.Region.ClientStack
169 m_moneyBalance = 1000; 169 m_moneyBalance = 1000;
170 170
171 m_scene = scene; 171 m_scene = scene;
172 m_clientManager = clientManager;
173 m_assetCache = assetCache; 172 m_assetCache = assetCache;
174 173
175 m_networkServer = packServer; 174 m_networkServer = packServer;
@@ -209,13 +208,18 @@ namespace OpenSim.Region.ClientStack
209 208
210 # region Client Methods 209 # region Client Methods
211 210
211
212 public void Close() 212 public void Close()
213 { 213 {
214 clientPingTimer.Stop(); 214 // FLUSH Packets
215 PacketQueue.Flush();
216 PacketQueue.Close();
215 217
218 // Pull Client out of Region
216 m_scene.RemoveClient(AgentId); 219 m_scene.RemoveClient(AgentId);
217 220
218 PacketQueue.Close(); 221 // Shut down timers
222 clientPingTimer.Stop();
219 223
220 ClientThread.Abort(); 224 ClientThread.Abort();
221 } 225 }