generated from dopt-python/py311-cython
add to-do for memory management
This commit is contained in:
parent
68356e06a5
commit
60794ddf2f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user