Added a test for finalization on shutdown by lostmsu · Pull Request #1206 · pythonnet/pythonnet

referenced this pull request

Aug 21, 2020
This is an attempt to make finalizer much simpler.

Instead of using .NET async tasks, Py_AddPendingCall or other synchronization mechanism we simply move objects to be finalized into a ConcurrentQueue, which is periodically drained when a new PyObject is constructed.

@lostmsu

@lostmsu lostmsu changed the title [Draft] Added a test for finalization on shutdown Added a test for finalization on shutdown

Sep 20, 2020

@lostmsu lostmsu deleted the bugs/FinalizationOnShutdown branch

September 20, 2020 19:58