public void WaitUntilStop() { while (true) { if (status.HasState(ServiceLauncherState.Stopped)) { break; } threadSleeper.Sleep(serviceStartTimeout); } consoleHandler.RemoveAll(); output.Info("\r\nServices were stopped"); }
public void WaitUntilStop() { while (true) { if (status.HasState(ServiceLauncherState.Stopped)) { break; } threadSleeper.Sleep(serviceStartTimeout); } consoleHandler.RemoveAll(); output.Info("\r\nServices were stopped"); }