mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
remove deadlock
This commit is contained in:
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
Block a user