diff --git a/transport/internet/kcp/output.go b/transport/internet/kcp/output.go index 21e0d5dc5..9c9e82b16 100644 --- a/transport/internet/kcp/output.go +++ b/transport/internet/kcp/output.go @@ -43,7 +43,7 @@ func (this *BufferedSegmentWriter) Write(seg Segment) { } func (this *BufferedSegmentWriter) FlushWithoutLock() { - this.writer.Write(this.buffer) + go this.writer.Write(this.buffer) this.buffer = nil }