`ClassManager` illegally decrefed `ClassObject`'s refcount on shutdown by lostmsu · Pull Request #1563 · pythonnet/pythonnet

Does this close any currently open issues?

#1561

Any other comments?

Long term we should switch ManagedType and other classes, that hold long-lived references to Python objects to use PyObject. This would make any code, that uses them refcount-balanced automatically.

See #1562

Checklist

  • Make sure to include one or more tests for your change