delta recursion protection
flush in send completion
This commit is contained in:
parent
2cac2c55d2
commit
41019b691b
4 changed files with 56 additions and 17 deletions
|
|
@ -772,6 +772,9 @@ namespace Server.Network {
|
|||
|
||||
lock ( m_SendQueue ) {
|
||||
gram = m_SendQueue.Dequeue();
|
||||
|
||||
if (gram == null && m_SendQueue.IsFlushReady)
|
||||
gram = m_SendQueue.CheckFlushReady();
|
||||
}
|
||||
|
||||
if ( gram != null ) {
|
||||
|
|
@ -943,6 +946,9 @@ namespace Server.Network {
|
|||
|
||||
lock (m_SendQueue) {
|
||||
gram = m_SendQueue.Dequeue();
|
||||
|
||||
if (gram == null && m_SendQueue.IsFlushReady)
|
||||
gram = m_SendQueue.CheckFlushReady();
|
||||
}
|
||||
|
||||
if (gram != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue