From 0678d05fde130605240378901aee994359ac4373 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Fri, 21 Jul 2023 22:03:53 +0800 Subject: [PATCH] fix: logout don't callback when network can not establish Signed-off-by: Gordon <1432970085@qq.com> --- internal/login/init_login.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/login/init_login.go b/internal/login/init_login.go index 6cb91edf7..4d75bc69c 100644 --- a/internal/login/init_login.go +++ b/internal/login/init_login.go @@ -359,7 +359,6 @@ func (u *LoginMgr) logout(ctx context.Context) error { err := u.longConnMgr.SendReqWaitResp(ctx, &push.DelUserPushTokenReq{UserID: u.info.UserID, PlatformID: u.info.PlatformID}, constant.LogoutMsg, &push.DelUserPushTokenResp{}) if err != nil { log.ZWarn(ctx, "TriggerCmdLogout server recycle resources failed...", err) - return err } else { log.ZDebug(ctx, "TriggerCmdLogout server recycle resources success...") }