FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Ensure interned strings can not be referenced after InternString.Shutdown by lostmsu · Pull Request #1394 · pythonnet/pythonnet · GitHub

Ensure interned strings can not be referenced after InternString.Shutdown - #1394

Merged
lostmsu merged 1 commit into
pythonnet:masterfrom
losttech:PR/Reliability/InternString-Clear-On-Shutdown
Feb 21, 2021
Merged

Ensure interned strings can not be referenced after InternString.Shutdown#1394
lostmsu merged 1 commit into
pythonnet:masterfrom
losttech:PR/Reliability/InternString-Clear-On-Shutdown

Conversation

lostmsu commented Feb 21, 2021

Copy link
Copy Markdown
Member

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 merged commit d0d7616 into pythonnet:master Feb 21, 2021
lostmsu deleted the PR/Reliability/InternString-Clear-On-Shutdown branch February 21, 2021 03:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL