Applying Ahzzmandius' second patch from bug 701.
ClientView triggers OnClose event before flushing packetqueue. Thank sAhzzmandius!0.6.0-stable
parent
e808bf04a5
commit
9991955014
|
@ -384,6 +384,7 @@ namespace OpenSim.Region.ClientStack
|
||||||
{
|
{
|
||||||
// Pull Client out of Region
|
// Pull Client out of Region
|
||||||
m_log.Info("[CLIENT]: Close has been called");
|
m_log.Info("[CLIENT]: Close has been called");
|
||||||
|
m_packetQueue.Flush();
|
||||||
|
|
||||||
//raiseevent on the packet server to Shutdown the circuit
|
//raiseevent on the packet server to Shutdown the circuit
|
||||||
if (shutdownCircuit)
|
if (shutdownCircuit)
|
||||||
|
|
|
@ -182,7 +182,7 @@ namespace OpenSim.Region.ClientStack
|
||||||
return SendQueue.Dequeue();
|
return SendQueue.Dequeue();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Flush()
|
public void Flush()
|
||||||
{
|
{
|
||||||
lock (this)
|
lock (this)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue