Fix crash about several DataStores using the same file (#2312)
* Fix crash about several DataStores using the same file - Create `@SessionCoroutineScope` annotation to pass a session-managed coroutine scope to the DI. - Expose this scope from `MatrixClient`. - Rework DataStore file creation a bit. - Centralise session preference creation through `DefaultSessionPreferencesStoreFactory` until we figure out what went wrong with the scoping
This commit is contained in:
parent
bfd6bd63b0
commit
38fdef0388
10 changed files with 137 additions and 15 deletions
1
changelog.d/2308.bugfix
Normal file
1
changelog.d/2308.bugfix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fix 'There are multiple DataStores active for the same file' crashes
|
||||
Loading…
Add table
Add a link
Reference in a new issue