Darien Raymond преди 9 години
родител
ревизия
ed780951aa
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      transport/internet/kcp/output.go

+ 1 - 1
transport/internet/kcp/output.go

@@ -44,7 +44,7 @@ func (this *BufferedSegmentWriter) Write(seg Segment) {
 }
 
 func (this *BufferedSegmentWriter) FlushWithoutLock() {
-	go this.writer.Write(this.buffer)
+	this.writer.Write(this.buffer)
 	this.buffer = nil
 }