Should I dispose my scoped container after the request finished? #389
andreseloysv
started this conversation in
General
Replies: 1 comment
-
Disposing scoped containers is only necessary if you want disposers of scoped registrations to run, that's all it does. So if you don't register any scoped dependencies with disposers, then you won't have to dispose them. If you do decide to dispose a scoped container, whether or not to await disposal is up to you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wonder if anyone has experience disposing of the scoped container.
Beta Was this translation helpful? Give feedback.
All reactions