Skip to content

Preserve state of ignore_user_abort()#31

Open
hschletz wants to merge 1 commit into
mikehaertl:masterfrom
hschletz:patch-2
Open

Preserve state of ignore_user_abort()#31
hschletz wants to merge 1 commit into
mikehaertl:masterfrom
hschletz:patch-2

Conversation

@hschletz

Copy link
Copy Markdown

ignore_user_abort(true) affects global state, possibly changing behaviour of subsequent code in unexpected ways.

This PR restores the setting to its previous state before returning.

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.

1 participant