public override void Kill() { if (Running && !RunGraphicalUserInterface) { InjectCommand("exit"); } base.Kill(); }
public void Stop() { if (!running) { throw new Exception("Start the instance before stopping"); } // System is not running anymore running = false; isimProcess.Kill(); CleanSimulation(); }