1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-02 23:47:07 -05:00

don't do normal close in error case

This commit is contained in:
Darien Raymond 2017-01-11 15:10:30 +01:00
parent 5013d387a5
commit 3a8eef2dec
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -139,7 +139,6 @@ func (v *Stream) CloseError() {
defer swallowPanic()
close(v.err)
v.Close()
n := len(v.buffer)
for i := 0; i < n; i++ {