Example #1
0
 protected override void OnStop()
 {
     _running?.Stop();
     _running = null;
 }
Example #2
0
 protected override void OnStart(string[] args)
 {
     _running?.Stop();
     _running = new RunningClass();
     var isStart = _running.Start();
 }