Exemplo n.º 1
0
 void Disconnect(string command, int seq, dynamic args)
 {
     if (args.killProcessOnDisconnect == true && process != null)
     {
         try {
             process.Kill();
         }
         catch (Exception) {
             // If it exits normally, it comes in this path.
         }
         process = null;
     }
     SendResponse(command, seq, null);
     toVSCode.Stop();
 }
Exemplo n.º 2
0
        void Disconnect(string command, int seq, dynamic arguments)
        {
            if (giderosRemoteController != null && stopGiderosWhenDebuggerStops)
            {
                giderosRemoteController.SendStop();
            }
            if (process != null)
            {
                try {
                    process.Kill();
                } catch (Exception) {
                    // 정상 종료하면 이쪽 경로로 들어온다.
                    // If it ends normally, you will enter this route.
                }
                process = null;
            }

            SendResponse(command, seq, null);
            toVSCode.Stop();
        }