浏览代码

Avoid ever removing spinner timeout twice

Thomas 2 年之前
父节点
当前提交
fe3e159d65
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Terminal.Gui/Views/SpinnerView.cs

+ 1 - 0
Terminal.Gui/Views/SpinnerView.cs

@@ -66,6 +66,7 @@ namespace Terminal.Gui {
 		{
 			if (_timeout != null) {
 				Application.MainLoop.RemoveTimeout (_timeout);
+				_timeout = null;
 			}
 
 			base.Dispose (disposing);