Skip to content


Teardown nulls the _mappings dict #71

darscan opened this Issue · 0 comments

2 participants


This renders the injector unusable after calling teardown. Would it not be better to simply new up a fresh dictionary?

@tschneidereit tschneidereit added a commit that closed this issue
@tschneidereit Change Injector#teardown to re-initialize all Dictionaries used to ho…
…ld internal state.

Thanks @darscan for the hint: the previous behavior was suboptimal indeed. Especially given that no error checking was done to detect the usage of torn down injectors.
Also increases version to 2.0.0rc1
Closes #71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.