diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/PacketQueue.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/PacketQueue.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/PacketQueue.cs b/OpenSim/Region/ClientStack/PacketQueue.cs index 4673082..1a8450f 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 | public void Flush() | 185 | private void Flush() |
186 | { | 186 | { |
187 | lock (this) | 187 | lock (this) |
188 | { | 188 | { |
@@ -224,6 +224,8 @@ namespace OpenSim.Region.ClientStack | |||
224 | 224 | ||
225 | public void Close() | 225 | public void Close() |
226 | { | 226 | { |
227 | Flush(); | ||
228 | |||
227 | m_enabled = false; | 229 | m_enabled = false; |
228 | throttleTimer.Stop(); | 230 | throttleTimer.Stop(); |
229 | 231 | ||