Open sandormatyi opened 2 years ago
The documentation is not clear about sentry_close()
being synchronous or asynchronous so I'm assuming the former. Do I have to wait for some amount of time after calling sentry_close()
?
Bump @getsentry/owners-native
You mention that you are using the crashpad backend on Windows. On that configuration, it is unfortunately not possible to de-register the crash handler. All other backends seem to handle that correctly though.
@Swatinem Do you have a workaround in mind that you could recommend? Would revoking user consent prevent the crash from being processed by Sentry?
I believe it will, though not 100% certain.
@Swatinem Unfortunately, sentry_user_consent_revoke()
doesn't work either. The crashes after revoking user consent are still sent to the Sentry server. This doesn't sound right to me. Is this the expected behaviour? Am I missing something here?
That is a good point, we will have to investigate. In the meanwhile using a different backend is a good workaround.
Description
I have an application that I sometimes want to manually crash without the crash getting reported. I am calling
sentry_close()
before the crash happens but the crash still ends up getting processed and reported.When does the problem happen
Environment
Steps To Reproduce
Log output