hibernating-rhinos/rhino-esb — pull request #72 by RyanHauert (2013-05-16 18:25:13+00:00)
Title: Register IStartable and IServiceBus as singleton in StructureMap

StructureMap's Forward method doesn't apply the singleton configuration to the additional interfaces that were registered. Normally you wouldn't notice this because StructureMap still returns the singleton instance when injecting IServiceBus, but when using a nested container it disposes the instance when the container is disposed.