-
Notifications
You must be signed in to change notification settings - Fork 7
Soft shutdown review comments 2 #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Soft shutdown review comments 2 #3
Conversation
src/runtime/classmanager.cs
Outdated
@@ -251,7 +251,6 @@ private static void InitClassBase(Type type, ClassBase impl) | |||
// TODO: deprecate __overloads__ soon... | |||
Runtime.PyDict_SetItemString(dict, "__overloads__", ctors.pyHandle); | |||
Runtime.PyDict_SetItemString(dict, "Overloads", ctors.pyHandle); | |||
ctors.DecrRefCount(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It leaks.
Would it be better if you just switch to old commit rather than add more revert commits? |
When serializing wrapper objects on domain shutdown Addresses comment: pythonnet#958 (comment)
Fixes an issue where there is no current thread state on shutdown. Also fixes a comment in Runtime.Initialize
... of WaitForFullGCComplete on runtime shutdown Addresses comment: pythonnet#958 (comment)
e0f2bed
to
80a7644
Compare
Codecov Report
@@ Coverage Diff @@
## soft-shutdown #3 +/- ##
==============================================
Coverage 86.25% 86.25%
==============================================
Files 1 1
Lines 291 291
==============================================
Hits 251 251
Misses 40 40
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
What does this implement/fix? Explain your changes.
...
Does this close any currently open issues?
...
Any other comments?
...
Checklist
Check all those that are applicable and complete.
AUTHORS
CHANGELOG