From 19df61b97fc17f5dc7fdcf04d6d23cb72aaa1500 Mon Sep 17 00:00:00 2001 From: kercylan98 Date: Fri, 8 Sep 2023 16:59:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20server=20=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E6=9C=8D=E5=8A=A1=E5=99=A8=E5=90=8E=EF=BC=8C=E5=A6=82?= =?UTF-8?q?=E6=9E=9C=E7=AD=89=E5=BE=85=E6=B6=88=E6=81=AF=E7=BB=93=E6=9D=9F?= =?UTF-8?q?=E8=BF=87=E7=A8=8B=E4=B8=AD=EF=BC=8C=E6=96=B0=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E5=B0=86=E9=98=BB=E5=A1=9E=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.go b/server/server.go index d1b9f660..ebee8bcb 100644 --- a/server/server.go +++ b/server/server.go @@ -573,7 +573,7 @@ func (slf *Server) ShuntChannelFreed(channelGuid int64) { // pushMessage 向服务器中写入特定类型的消息,需严格遵守消息属性要求 func (slf *Server) pushMessage(message *Message) { - if slf.messagePool.IsClose() || slf.isShutdown.Load() || !slf.OnMessageExecBeforeEvent(message) { + if slf.messagePool.IsClose() || !slf.OnMessageExecBeforeEvent(message) { slf.messagePool.Release(message) return }