Beispiel #1
0
        public bool Stop(HostControl hostControl)
        {
            logger.Info("Stopping service...");

            // stop all running jobs
            if (sched != null)
            {
                sched.Shutdown(true);
            }
            // finally close opened streams for the logs reader
            ReadWebAppsLogsJob.CleanupStreams();

            return(true);
        }
 public void Dispose()
 {
     ReadWebAppsLogsJob.CleanupStreams();
     Directory.Delete(logFolder, true);
 }