mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-05-14 08:29:10 -04:00
correctly release segments
This commit is contained in:
@@ -292,6 +292,8 @@ func (this *SendingWorker) ProcessAck(number uint32) {
|
||||
}
|
||||
|
||||
func (this *SendingWorker) ProcessSegment(current uint32, seg *AckSegment) {
|
||||
defer seg.Release()
|
||||
|
||||
this.Lock()
|
||||
defer this.Unlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user