Skip to content

feat: Add sentry_reinstall_backend API - #449

Merged
Swatinem merged 2 commits into
masterfrom
feat/reset-backend
Jan 5, 2021
Merged

Swatinem merged 2 commits into
masterfrom
feat/reset-backend

Conversation

@Swatinem

@Swatinem Swatinem commented Jan 5, 2021

Copy link
Copy Markdown
Contributor

This is a rebase of #388, ready to be merged.

We have a third-party dynamic library (.NET Core runtime) that is loaded far into our application's runtime which, on load, steals all signal handlers. On Linux this works out fine, they are responsible and call whatever signal handler was there before them. No such luck on Windows. Forking and patching the .NET Core runtime is quite a bit more work, and we may run into this kind of issue in the future, so our internal fix is to add this API, and hopefully we can get this upstreamed and avoid forking sentry-native altogether.
@Swatinem
Swatinem requested a review from a team January 5, 2021 11:43

@jan-auer jan-auer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The name is potentially misleading, should we go with something like sentry_reinstall_backend?

We should make it clear that this is potentially dangerous and should only be called when someone is sure that this needs to be done.

@Swatinem Swatinem changed the title feat: Add sentry_reset_backend API feat: Add sentry_reinstall_backend API Jan 5, 2021
@Swatinem
Swatinem merged commit 2a55499 into master Jan 5, 2021
@Swatinem
Swatinem deleted the feat/reset-backend branch January 5, 2021 12:21
BernhardMarconato pushed a commit to elgatosf/sentry-native that referenced this pull request Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants