Applying Ahzzmandius' second patch from bug 701.

ClientView triggers OnClose event before flushing packetqueue. 
Thank sAhzzmandius!
0.6.0-stable
Teravus Ovares 2008-03-02 19:48:26 +00:00
parent e808bf04a5
commit 9991955014
2 changed files with 2 additions and 1 deletions

View File

@ -384,6 +384,7 @@ namespace OpenSim.Region.ClientStack
{
// Pull Client out of Region
m_log.Info("[CLIENT]: Close has been called");
m_packetQueue.Flush();
//raiseevent on the packet server to Shutdown the circuit
if (shutdownCircuit)

View File

@ -182,7 +182,7 @@ namespace OpenSim.Region.ClientStack
return SendQueue.Dequeue();
}
private void Flush()
public void Flush()
{
lock (this)
{