private void DebuggerKill() { lock (_lock) { try { if (!(iOSDebuggerProcess?.HasExited ?? true)) { iOSDebuggerProcess?.StandardInput?.WriteLine("\r\n"); iOSDebuggerProcess?.Kill(); iOSDebuggerProcess = null; } } catch (Exception ex) { Console.WriteLine(ex); } if (_session != null) { _debuggeeExecuting = true; if (!_session.HasExited) { _session.Exit(); } _session.Dispose(); _session = null; } } }
private void DebuggerKill() { lock (_lock) { if (_session != null) { _debuggeeExecuting = true; if (!_session.HasExited) { _session.Exit(); } _session.Dispose(); _session = null; } } }
private void DebuggerKill() { lock (m_Lock) { if (m_Session != null) { m_DebuggeeExecuting = true; if (!m_Session.HasExited) { m_Session.Exit(); } m_Session.Dispose(); m_Session = null; } } }