From ab2c1d9fb21c57b18eb8a00923f98383348ae0f2 Mon Sep 17 00:00:00 2001 From: Marc Tanenbaum Date: Wed, 11 Sep 2013 17:06:21 -0700 Subject: [PATCH] Fixed a problem with cross-context injections that could cause a named binding to unmap an unnamed one --- extensions/injector/impl/CrossContextInjectionBinder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/injector/impl/CrossContextInjectionBinder.cs b/extensions/injector/impl/CrossContextInjectionBinder.cs index 7db3e25..3bf4b10 100644 --- a/extensions/injector/impl/CrossContextInjectionBinder.cs +++ b/extensions/injector/impl/CrossContextInjectionBinder.cs @@ -69,7 +69,7 @@ override public void ResolveBinding(IBinding binding, object key) } else { - Unbind(key); //remove this cross context binding from the local binder + Unbind(key, binding.name); //remove this cross context binding from the local binder CrossContextBinder.ResolveBinding(binding, key); } }