protected override void OnStop() { if (this.runner != null && this.runner.Profiler.IsRunning) { LoggingService.Info("stopping profiler..."); runner.Stop(); } }
void ShutdownClick(object sender, RoutedEventArgs e) { AllowClose = true; runner.Stop(); }