Skip to content

Commit

Permalink
fix: logout don't callback when network can not establish
Browse files Browse the repository at this point in the history
Signed-off-by: Gordon <1432970085@qq.com>
  • Loading branch information
FGadvancer committed Jul 21, 2023
1 parent 34f0c68 commit 0678d05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/login/init_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...")
}
Expand Down

0 comments on commit 0678d05

Please sign in to comment.