Closed Martin-Molinero closed 5 years ago
finalizer
_pendingArgs
Py_AddPendingCall
lock
Monitor.TryEnter
AddPendingCollect()
What does this implement/fix? Explain your changes.
finalizer
was leaking_pendingArgs
(global memory) when the call toPy_AddPendingCall
was unsuccessful.lock
forMonitor.TryEnter
atAddPendingCollect()
so threads don't block each other.