Darien Raymond 9 лет назад
Родитель
Сommit
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
 }