Example #1
0
 void TargetProcessExited(object sender, EventArgs e)
 {
     if (tooltip != null)
     {
         tooltip.Destroy();
         tooltip = null;
     }
 }
        void TargetProcessExited(object sender, EventArgs e)
        {
            if (tooltip == null)
            {
                return;
            }
            var debuggerSession = tooltip.tree.Frame?.DebuggerSession;

            if (debuggerSession == null || debuggerSession == sender)
            {
                tooltip.Destroy();
                tooltip = null;
            }
        }