瀏覽代碼

Seal this

Brandon Thetford 1 年之前
父節點
當前提交
be8a758046
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Terminal.Gui/Application.cs

+ 1 - 1
Terminal.Gui/Application.cs

@@ -720,7 +720,7 @@ public static partial class Application
     // provides the sync context set while executing code in Terminal.Gui, to let
     // users use async/await on their code
     //
-    private class MainLoopSyncContext : SynchronizationContext
+    private sealed class MainLoopSyncContext : SynchronizationContext
     {
         public override SynchronizationContext CreateCopy () { return new MainLoopSyncContext (); }