Fix Pyobject GC Finalize & Enable NUnit Exit Code by vmuriart · Pull Request #365 · pythonnet/pythonnet

What does this implement/fix? Explain your changes.

Fixes random crashes on AppVeyor Embedded tests.
Specifically, fixes crashes when exiting a program.

Does this close any currently open issues?

Closes #364
Closes #262
Maybe #245

Any other comments?

Enables NUNIT's exit code to be part of the success criteria of the tests.
No new tests added since it affected all tests 👍

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • Add yourself to AUTHORS
  • Updated the CHANGELOG