mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Made sure Attributes get dereferenced correctly.
This commit is contained in:
parent
5e4af3f851
commit
bc80132229
1 changed files with 2 additions and 1 deletions
|
|
@ -292,8 +292,9 @@ class WeakSharedMemoryModelBase(SharedMemoryModelBase):
|
|||
Uses a WeakValue dictionary for caching instead of a regular one
|
||||
"""
|
||||
def _prepare(cls):
|
||||
cls.__instance_cache__ = WeakValueDictionary()
|
||||
super(WeakSharedMemoryModelBase, cls)._prepare()
|
||||
cls.__instance_cache__ = WeakValueDictionary()
|
||||
cls._idmapper_recache_protection = False
|
||||
|
||||
class WeakSharedMemoryModel(SharedMemoryModel):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue