void App_Exit(object sender, System.Windows.ExitEventArgs e) { if (StartupUri != null && StartupUri.ToString( ).Contains("Blend")) { return; } Messaging.Bus.Instance.Send(new Messaging.AppShutdownMessage( )); BootStrapper.DisposeWithCare( ); m_oSingletonChecker.DisposeWithCare( ); }