v2ray 9 роки тому
батько
коміт
32da784549
1 змінених файлів з 0 додано та 3 видалено
  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)
 }