Closed heri16 closed 4 months ago
Make Callback keep reference to PyObject, to prevent GC until destroy() is called, or until Callback itself is GC-ed.
Callback
PyObject
destroy()
Fixes Issue #1
lgtm
Make
Callback
keep reference toPyObject
, to prevent GC untildestroy()
is called, or untilCallback
itself is GC-ed.