示例#1
0
 public void Stop()
 {
     if (!_isStarted)
     {
         return;
     }
     _isStarted = false;
     _commandList.Add(CommandData.Exit());
     _commandList.CompleteAdding();
     _commandList = null;
 }