Removed `ShutdownMode`. Now always behaves like original `Reload` by lostmsu · Pull Request #1638 · pythonnet/pythonnet

filmor

@lostmsu lostmsu marked this pull request as ready for review

December 20, 2021 23:39

filmor

filmor

filmor

filmor

… is an equivalent of `ShutdownMode.Reload`

also in this change:
- fixed Python derived types not being decrefed when an instance is deallocated
- reduced time and amount of storage needed for runtime reload
- removed circular reference loop between Type <-> ConstructorBinding(s)
+ exposed Runtime.TryCollectingGarbage

@lostmsu

clearing GCHandle from an instance of Python derived type would drop the last reference to it, so it was destroyed without being removed from reflectedObjects collection

@lostmsu

@lostmsu lostmsu deleted the cleanup/ShutdownModes branch

December 25, 2021 18:22