public void Stop() { _logger.LogInformation("Stop requested by Windows"); _schedulerManager.Stop().Wait(); }
protected override void OnStop() { base.OnStop(); _schedulerManager.Stop(); }