1
0
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:
v2ray 2016-07-02 22:06:37 +02:00
parent 080f0abee9
commit 32da784549
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

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