From 9a1d9ba8dd719c58a97bbdec8e1898966eed8fd3 Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Fri, 11 Jul 2025 08:43:22 +0100 Subject: [PATCH 1/2] chore: remove workaround for sentry-dotnet issue #3141 --- modules/Sentry/public/Start-Sentry.ps1 | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/Sentry/public/Start-Sentry.ps1 b/modules/Sentry/public/Start-Sentry.ps1 index 3545699..3826dfb 100644 --- a/modules/Sentry/public/Start-Sentry.ps1 +++ b/modules/Sentry/public/Start-Sentry.ps1 @@ -76,9 +76,6 @@ function Start-Sentry $logger.Log([Sentry.SentryLevel]::Warning, 'Failed to create a PowerShell-specific synchronous worker', $_.Exception, @()) } } - - # Workaround for https://github.com/getsentry/sentry-dotnet/issues/3141 - $options.DisableAppDomainProcessExitFlush() } process { From 8b94b6816315b7c2ea2abe73400ca9dbf21d2f35 Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Tue, 15 Jul 2025 08:04:05 +0200 Subject: [PATCH 2/2] chore: changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09a697f..d2aaef4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Fixes + +- Remove workaround for Dotnet SDK issue causing a hang on process exit - automatic flush should work now. ([#85](https://github.com/getsentry/sentry-powershell/pull/85)) + ### Dependencies - Bump Dotnet SDK from v5.4.0 to v5.12.0 ([#83](https://github.com/getsentry/sentry-powershell/pull/83))