Skip to content

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

Conversation

BadSingleton
Copy link

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.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Add yourself to AUTHORS
  • Updated the CHANGELOG

@@ -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();
Copy link
Owner

Choose a reason for hiding this comment

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

It leaks.

@amos402
Copy link
Owner

amos402 commented Sep 10, 2020

Would it be better if you just switch to old commit rather than add more revert commits?

BadSingleton and others added 5 commits September 10, 2020 13:03
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)
@BadSingleton BadSingleton force-pushed the soft-shutdown-review-comments-2 branch from e0f2bed to 80a7644 Compare September 10, 2020 19:24
@codecov-commenter
Copy link

codecov-commenter commented Sep 10, 2020

Codecov Report

Merging #3 into soft-shutdown will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff               @@
##           soft-shutdown       #3   +/-   ##
==============================================
  Coverage          86.25%   86.25%           
==============================================
  Files                  1        1           
  Lines                291      291           
==============================================
  Hits                 251      251           
  Misses                40       40           
Flag Coverage Δ
#setup_linux 64.94% <ø> (ø)
#setup_windows 72.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 598cb77...80a7644. Read the comment docs.

@amos402 amos402 merged commit 12c0206 into amos402:soft-shutdown Sep 11, 2020
@BadSingleton BadSingleton deleted the soft-shutdown-review-comments-2 branch October 20, 2020 14:59
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