We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceab3dd commit 669571aCopy full SHA for 669571a
chat-sdk/src/main/java/com/amazon/connect/chat/sdk/ChatSession.kt
@@ -258,9 +258,9 @@ class ChatSessionImpl @Inject constructor(private val chatService: ChatService)
258
}
259
260
override suspend fun reset(): Result<Boolean> {
261
+ cleanup()
262
+ isChatSessionActive = false
263
return withContext(Dispatchers.IO) {
- cleanup()
- isChatSessionActive = false
264
chatService.reset()
265
266
0 commit comments