diff --git a/VContainer/Assets/VContainer/Runtime/Internal/BuilderCallbackDisposable.cs b/VContainer/Assets/VContainer/Runtime/Internal/BuilderCallbackDisposable.cs index 7cf49079..f51bd602 100644 --- a/VContainer/Assets/VContainer/Runtime/Internal/BuilderCallbackDisposable.cs +++ b/VContainer/Assets/VContainer/Runtime/Internal/BuilderCallbackDisposable.cs @@ -7,6 +7,7 @@ class BuilderCallbackDisposable : IDisposable public event Action Disposing; readonly IObjectResolver container; + [Inject] public BuilderCallbackDisposable(IObjectResolver container) { this.container = container;