Browse Source

Seal this

Brandon Thetford 1 năm trước cách đây
mục cha
commit
be8a758046
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 (); }