Skip to content

Commit

Permalink
Make a lambda static.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Dec 30, 2023
1 parent 6112659 commit 2d7659b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Terminals/Unix/UnixVirtualTerminal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d7659b

Please sign in to comment.