add to-do for memory management

This commit is contained in:
Florian Förster 2025-12-11 16:05:50 +01:00
parent 68356e06a5
commit 60794ddf2f

View File

@ -164,6 +164,8 @@ cdef class Blockchain:
def __init__(self, *args, **kwargs):
pass
# TODO add entries of map
# ownership is typically not transferred from the Blockchain extension class
def __dealloc__(self):
if self._chain is not NULL:
del self._chain