freshgum-bubbles / typedi

Elegant Dependency Injection in TypeScript and JavaScript.
http://typedi.js.org/
MIT License
53 stars 3 forks source link

Fix "ContainerRegistry.removeContainer" #125

Closed freshgum-bubbles closed 1 year ago

freshgum-bubbles commented 1 year ago

The ContainerRegistry.removeContainer method no longer disposes already-disposed containers. This may have been an issue if a container was disposed, and then removeContainer was called; the call would always fail, as the registry attempted a disposal upon the container when doing so was invalid.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: a04f1d74b5188439d6ff205f317bae6e26f66551

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------------- | ----- | | @freshgum/typedi | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 1 year ago

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.