mirror of https://github.com/v2ray/v2ray-core
remove deadlock
parent
080f0abee9
commit
32da784549
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue