示例#1
0
 private void tcpDebugger_OnDebuggerClientDisconnected(object sender, DebuggerClientDisconnectedEventArgs e)
 {
     Console.WriteLine("Debugger client disconnected!");
     e.DebuggerClient.ListenerThread.Abort();
     e.DebuggerClient.PingThread.Abort();
     tcpDebugger.Clients.Remove(e.DebuggerClient);
 }
示例#2
0
            protected virtual void OnDebuggerClientDisconnected(DebuggerClientDisconnectedEventArgs e)
            {
                EventHandler <DebuggerClientDisconnectedEventArgs> handler = DebuggerClientDisconnected;

                if (handler != null)
                {
                    handler(this, e);
                }
            }