Browse Source

Seal this

Brandon Thetford 1 year ago
parent
commit
be8a758046
1 changed files with 1 additions and 1 deletions
  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
     // provides the sync context set while executing code in Terminal.Gui, to let
     // users use async/await on their code
     // users use async/await on their code
     //
     //
-    private class MainLoopSyncContext : SynchronizationContext
+    private sealed class MainLoopSyncContext : SynchronizationContext
     {
     {
         public override SynchronizationContext CreateCopy () { return new MainLoopSyncContext (); }
         public override SynchronizationContext CreateCopy () { return new MainLoopSyncContext (); }