add test test/test_dereference.py + memoryleaks in optiondescription's cache
This commit is contained in:
@ -22,7 +22,7 @@ from tiramisu.storage.dictionary.storage import Cache
|
||||
|
||||
|
||||
class Values(Cache):
|
||||
__slots__ = ('_values',)
|
||||
__slots__ = ('_values', '__weakref__')
|
||||
|
||||
def __init__(self, storage):
|
||||
"""init plugin means create values storage
|
||||
|
@ -23,7 +23,7 @@ from tiramisu.setting import owners
|
||||
|
||||
|
||||
class Values(Cache):
|
||||
__slots__ = tuple()
|
||||
__slots__ = ('__weakref__',)
|
||||
|
||||
def __init__(self, storage):
|
||||
"""init plugin means create values storage
|
||||
|
Reference in New Issue
Block a user