Skip to content

Commit

Permalink
feat: updated code for session-manager changes
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Goel <[email protected]>
  • Loading branch information
grvgoel81 authored and Gaurav Goel committed Oct 30, 2024
1 parent 6e33a62 commit 6c3e8c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/com/web3auth/core/Web3Auth.kt
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ class Web3Auth(web3AuthOptions: Web3AuthOptions, context: Context) : WebViewResu
val sessionResponse: CompletableFuture<Boolean> =
sessionManager.invalidateSession(context)
sessionResponse.whenComplete { _, error ->
SessionManager.deleteSessionIdFromStorage()
runOnUIThread {
if (error == null) {
logoutCompletableFuture.complete(null)
Expand Down

0 comments on commit 6c3e8c5

Please sign in to comment.