Exemple #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);
 }
Exemple #2
0
            protected virtual void OnDebuggerClientDisconnected(DebuggerClientDisconnectedEventArgs e)
            {
                EventHandler <DebuggerClientDisconnectedEventArgs> handler = DebuggerClientDisconnected;

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