[#1031] StrictMode violation: LeakedClosableViolation data db
This commit is contained in:
parent
63a3bfe3e4
commit
ca0e69d97f
|
@ -282,6 +282,7 @@ class SdkSynchronizer private constructor(
|
||||||
val shutdownJob = coroutineScope.launch {
|
val shutdownJob = coroutineScope.launch {
|
||||||
Twig.debug { "Stopping synchronizer $synchronizerKey…" }
|
Twig.debug { "Stopping synchronizer $synchronizerKey…" }
|
||||||
processor.stop()
|
processor.stop()
|
||||||
|
storage.close()
|
||||||
}
|
}
|
||||||
|
|
||||||
instances[synchronizerKey] = InstanceState.ShuttingDown(shutdownJob)
|
instances[synchronizerKey] = InstanceState.ShuttingDown(shutdownJob)
|
||||||
|
|
Loading…
Reference in New Issue