remove deadlock

pull/215/head
v2ray 9 years ago
parent 080f0abee9
commit 32da784549
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -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)
} }

Loading…
Cancel
Save