remove deadlock

This commit is contained in:
v2ray
2016-07-02 22:06:37 +02:00
parent 080f0abee9
commit 32da784549
-3
View File
@@ -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)
}