Skip to content

Commit e19610c

Browse files
committed
修复天凤在暗杠时的偶现手牌解析错误
1 parent f79d231 commit e19610c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

platform/tenhou/message_receiver.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,11 @@ func (mr *MessageReceiver) run() {
6060
}
6161
}()
6262

63-
for data := range mr.orderedMessageQueue {
64-
mr.outMessage <- data
65-
}
63+
go func() {
64+
for data := range mr.orderedMessageQueue {
65+
mr.outMessage <- data
66+
}
67+
}()
6668
}
6769

6870
func (mr *MessageReceiver) Put(data []byte) {

0 commit comments

Comments
 (0)