As was noted in #1074, since it is possible to Py_DecRef alive objects created before Py_Finalize after Py_Initialize is called again, we should properly Dispose PyObject instances, that were found by .NET garbage collector between Py_Finalize and the following Py_Initialize.
As was noted in #1074, since it is possible to
Py_DecRefalive objects created beforePy_FinalizeafterPy_Initializeis called again, we should properlyDisposePyObjectinstances, that were found by .NET garbage collector betweenPy_Finalizeand the followingPy_Initialize.