Skip to content

Commit

Permalink
fix: change init logout status order. (#417)
Browse files Browse the repository at this point in the history
* fix: wasm createLocationMessage support float64 and trigger OnRecvOfflineNewMessage when android app running in the background.

Signed-off-by: Gordon <[email protected]>

* fix: wasm createLocationMessage support float64 and trigger OnRecvOfflineNewMessage when android app running in the background.

Signed-off-by: Gordon <[email protected]>

* fix: change init logout status order.

Signed-off-by: Gordon <[email protected]>

---------

Signed-off-by: Gordon <[email protected]>
  • Loading branch information
FGadvancer authored Nov 22, 2023
1 parent cff6f9a commit a944498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_im_sdk/userRelated.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,8 @@ func (u *LoginMgr) initResources() {
u.heartbeatCmdCh = make(chan common.Cmd2Value, 10)
u.pushMsgAndMaxSeqCh = make(chan common.Cmd2Value, 1000)
u.loginMgrCh = make(chan common.Cmd2Value, 1)
u.setLoginStatus(LogoutStatus)
u.longConnMgr = interaction.NewLongConnMgr(u.ctx, u.connListener, u.heartbeatCmdCh, u.pushMsgAndMaxSeqCh, u.loginMgrCh)
u.setLoginStatus(LogoutStatus)
}

func (u *LoginMgr) UnInitSDK() {
Expand Down

0 comments on commit a944498

Please sign in to comment.