Browse Source

remove deadlock

v2ray 9 years ago
parent
commit
32da784549
1 changed files with 0 additions and 3 deletions
  1. 0 3
      transport/internet/kcp/receiving.go

+ 0 - 3
transport/internet/kcp/receiving.go

@@ -274,9 +274,6 @@ func (this *ReceivingWorker) DumpWindow() {
 }
 
 func (this *ReceivingWorker) Read(b []byte) (int, error) {
-	this.Lock()
-	defer this.Unlock()
-
 	return this.queue.Read(b)
 }