Skip to content

Conversation

@yueyinqiu
Copy link
Collaborator

@yueyinqiu yueyinqiu commented Feb 15, 2025

closes #31

I have made IMagicDbFactory a scoped service and made DbStore singleton.

I also moved the import call from IndexDbManager to MagicDbFactory. So MagicDbFactory is now an IAsyncDisposable, which will also try to close the databases when disposing.

@yueyinqiu yueyinqiu marked this pull request as ready for review February 15, 2025 05:28
@magiccodingman magiccodingman merged commit 788e6b5 into magiccodingman:master Feb 15, 2025
@yueyinqiu yueyinqiu deleted the re branch February 16, 2025 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

About dependency injection

2 participants