sentry-dotnet icon indicating copy to clipboard operation
sentry-dotnet copied to clipboard

Listen to `PosixSignalRegistration` for events

Open bruno-garcia opened this issue 3 years ago • 3 comments

Different signals can be now received in .NET 6 through PosixSignalRegistration. We can rely on this to close a session, flush events, add breadcrumbs etc.

This task involves exploring which events are available, what are the limitations (allocations, timing, opening connections?) with regards to code we can run in there and come out with what we can build on top of it.

See: https://github.com/dotnet/runtime/issues/50527

bruno-garcia avatar Jul 14 '21 00:07 bruno-garcia