// since the boostrapper implements IDisposable, we might want to call it protected override void OnHostDispose(bool disposing) { base.OnHostDispose(disposing); _bootstrapper.Dispose(); }