aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs1
-rw-r--r--OpenSim/Region/ClientStack/PacketQueue.cs2
2 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index ac18919..af5a8e5 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -384,6 +384,7 @@ namespace OpenSim.Region.ClientStack
384 { 384 {
385 // Pull Client out of Region 385 // Pull Client out of Region
386 m_log.Info("[CLIENT]: Close has been called"); 386 m_log.Info("[CLIENT]: Close has been called");
387 m_packetQueue.Flush();
387 388
388 //raiseevent on the packet server to Shutdown the circuit 389 //raiseevent on the packet server to Shutdown the circuit
389 if (shutdownCircuit) 390 if (shutdownCircuit)
diff --git a/OpenSim/Region/ClientStack/PacketQueue.cs b/OpenSim/Region/ClientStack/PacketQueue.cs
index 1a8450f..a04828f 100644
--- a/OpenSim/Region/ClientStack/PacketQueue.cs
+++ b/OpenSim/Region/ClientStack/PacketQueue.cs
@@ -182,7 +182,7 @@ namespace OpenSim.Region.ClientStack
182 return SendQueue.Dequeue(); 182 return SendQueue.Dequeue();
183 } 183 }
184 184
185 private void Flush() 185 public void Flush()
186 { 186 {
187 lock (this) 187 lock (this)
188 { 188 {