Reverted packet lifespan changes due to scalability implications
This commit is contained in:
parent
9dd4c1d37b
commit
d5b7c10e32
1 changed files with 2 additions and 5 deletions
|
|
@ -3568,9 +3568,6 @@ namespace Server.Network
|
|||
if ( (m_State & State.Buffered) != 0 )
|
||||
m_Buffers.ReleaseBuffer( m_CompiledBuffer );
|
||||
|
||||
PacketWriter.ReleaseInstance( m_Stream );
|
||||
m_Stream = null;
|
||||
|
||||
m_State &= ~(State.Static | State.Acquired | State.Buffered);
|
||||
|
||||
m_CompiledBuffer = null;
|
||||
|
|
@ -3674,8 +3671,8 @@ namespace Server.Network
|
|||
Buffer.BlockCopy( old, 0, m_CompiledBuffer, 0, length );
|
||||
}
|
||||
|
||||
//PacketWriter.ReleaseInstance( m_Stream );
|
||||
//m_Stream = null;
|
||||
PacketWriter.ReleaseInstance( m_Stream );
|
||||
m_Stream = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue