From 2d7659b1637ef9d279f5db209094be75ff4699f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 30 Dec 2023 07:34:46 +0100 Subject: [PATCH] Make a lambda static. --- src/core/Terminals/Unix/UnixVirtualTerminal.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Terminals/Unix/UnixVirtualTerminal.cs b/src/core/Terminals/Unix/UnixVirtualTerminal.cs index 75000eb..a8f06a9 100644 --- a/src/core/Terminals/Unix/UnixVirtualTerminal.cs +++ b/src/core/Terminals/Unix/UnixVirtualTerminal.cs @@ -76,7 +76,7 @@ void HandleSignal(PosixSignalContext context) } // Do this on the thread pool to avoid breaking internals if an event handler misbehaves. - _ = ThreadPool.UnsafeQueueUserWorkItem(term => term.Resumed?.Invoke(), this, true); + _ = ThreadPool.UnsafeQueueUserWorkItem(static term => term.Resumed?.Invoke(), this, true); } // Terminal width/height will definitely have changed for SIGWINCH, and might have changed for SIGCONT. On