示例#1
0
        /// <summary>
        /// Stops the service.
        /// </summary>
        public void Quit(RemoteServer server) {
            if (_process == null || _process.HasExited)
                return;

            server.ShutDown();

            if (_process.WaitForExit(5000)) {
                _process.Dispose();
                _process = null;
            }
        }
示例#2
0
 /// <summary>
 /// Stops the service.
 /// </summary>
 public void Quit(RemoteServer server) {
     this.Dispose();
 }
示例#3
0
 /// <summary>
 /// Stops the service.
 /// </summary>
 public void Quit(RemoteServer server)
 {
     this.Dispose();
 }