Skip to content

Commit 6c3e8c5

Browse files
committed
feat: updated code for session-manager changes
Signed-off-by: Gaurav Goel <[email protected]>
1 parent 6e33a62 commit 6c3e8c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/java/com/web3auth/core/Web3Auth.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ class Web3Auth(web3AuthOptions: Web3AuthOptions, context: Context) : WebViewResu
296296
val sessionResponse: CompletableFuture<Boolean> =
297297
sessionManager.invalidateSession(context)
298298
sessionResponse.whenComplete { _, error ->
299+
SessionManager.deleteSessionIdFromStorage()
299300
runOnUIThread {
300301
if (error == null) {
301302
logoutCompletableFuture.complete(null)

0 commit comments

Comments
 (0)