Skip to content

Commit

Permalink
Fixed a problem with cross-context injections that could cause a name…
Browse files Browse the repository at this point in the history
…d binding to unmap an unnamed one
  • Loading branch information
Marc Tanenbaum committed Sep 12, 2013
1 parent 6422f2b commit ab2c1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/injector/impl/CrossContextInjectionBinder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit ab2c1d9

Please sign in to comment.