mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
Stop thread on close session
This commit is contained in:
parent
ace412f9e3
commit
6cca87da49
1 changed files with 1 additions and 0 deletions
|
@ -207,6 +207,7 @@ internal class DefaultSession @Inject constructor(
|
|||
cryptoService.get().close()
|
||||
isOpen = false
|
||||
eventBus.unregister(this)
|
||||
eventSenderProcessor.interrupt()
|
||||
}
|
||||
|
||||
override fun getSyncStateLive() = getSyncThread().liveState()
|
||||
|
|
Loading…
Reference in a new issue