Reverted to a standard dictionary in SharedMemoryBase; not having this does return the old 'going out of scope' from yesteryear.
This commit is contained in:
parent
e11b242365
commit
0c848eb9a2
1 changed files with 2 additions and 2 deletions
|
|
@ -71,8 +71,8 @@ class SharedMemoryModelBase(ModelBase):
|
||||||
|
|
||||||
|
|
||||||
def _prepare(cls):
|
def _prepare(cls):
|
||||||
cls.__instance_cache__ = WeakValueDictionary()
|
#cls.__instance_cache__ = WeakValueDictionary()
|
||||||
#cls.__instance_cache__ = {} #WeakValueDictionary()
|
cls.__instance_cache__ = {} #WeakValueDictionary()
|
||||||
super(SharedMemoryModelBase, cls)._prepare()
|
super(SharedMemoryModelBase, cls)._prepare()
|
||||||
|
|
||||||
def __new__(cls, classname, bases, classdict, *args, **kwargs):
|
def __new__(cls, classname, bases, classdict, *args, **kwargs):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue