Stop thread on close session
This commit is contained in:
parent
ace412f9e3
commit
6cca87da49
|
@ -207,6 +207,7 @@ internal class DefaultSession @Inject constructor(
|
||||||
cryptoService.get().close()
|
cryptoService.get().close()
|
||||||
isOpen = false
|
isOpen = false
|
||||||
eventBus.unregister(this)
|
eventBus.unregister(this)
|
||||||
|
eventSenderProcessor.interrupt()
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun getSyncStateLive() = getSyncThread().liveState()
|
override fun getSyncStateLive() = getSyncThread().liveState()
|
||||||
|
|
Loading…
Reference in New Issue