è¦fix bug

This commit is contained in:
unknown
2021-01-08 15:45:40 +08:00
parent 1f5b8413c2
commit 96bdb4f450
2 changed files with 6 additions and 2 deletions

View File

@@ -97,7 +97,11 @@ class MogoMainAuthorize private constructor() : MogoAuthorizeManagerImpl(), IMog
}
}
fun release(){
fun release() {
if (authorizeDialog != null && authorizeDialog!!.isShowing) {
authorizeDialog!!.dismiss()
authorizeDialog = null
}
mContext = null
}