Skip to content

Conversation

lostmsu
Copy link
Member

@lostmsu lostmsu commented Feb 21, 2021

What does this implement/fix? Explain your changes.

This nulls entries in PyIdentifier upon runtime shutdown. If any threads are still executing C# <-> Python interop, they will see NPE instead of generic segfault, which should make it easier to debug.

@lostmsu lostmsu merged commit d0d7616 into pythonnet:master Feb 21, 2021
@lostmsu lostmsu deleted the PR/Reliability/InternString-Clear-On-Shutdown branch February 21, 2021 03:35
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