浏览代码

Removed duplciate RequestStop

Tig 10 月之前
父节点
当前提交
556a2eb024
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Terminal.Gui/Views/Toplevel.cs

+ 1 - 1
Terminal.Gui/Views/Toplevel.cs

@@ -192,7 +192,7 @@ public partial class Toplevel : View
     ///     exit.
     ///     exit.
     /// </summary>
     /// </summary>
     /// <param name="top">The Toplevel to request stop.</param>
     /// <param name="top">The Toplevel to request stop.</param>
-    public virtual void RequestStop (Toplevel top) { top.RequestStop (); }
+    //public virtual void RequestStop (Toplevel top) { top.RequestStop (); }
 
 
     internal virtual void OnAllChildClosed () { AllChildClosed?.Invoke (this, EventArgs.Empty); }
     internal virtual void OnAllChildClosed () { AllChildClosed?.Invoke (this, EventArgs.Empty); }