mirror of
https://github.com/evennia/evennia.git
synced 2026-04-04 23:17:17 +02:00
Made flush_cache work correctly on idmapper; added _idmapper_cache_flush_safe variable for 'securing' objects from cache cleanups. Nothing using this system yet.
This commit is contained in:
parent
b473feec06
commit
a617924fb0
3 changed files with 25 additions and 25 deletions
|
|
@ -719,7 +719,7 @@ class TypedObject(SharedMemoryModel):
|
|||
# lock handler self.locks
|
||||
def __init__(self, *args, **kwargs):
|
||||
"We must initialize the parent first - important!"
|
||||
super(SharedMemoryModel, self).__init__(*args, **kwargs)
|
||||
super(TypedObject, self).__init__(*args, **kwargs)
|
||||
#SharedMemoryModel.__init__(self, *args, **kwargs)
|
||||
_SA(self, "dbobj", self) # this allows for self-reference
|
||||
_SA(self, "locks", LazyLoadHandler(self, "locks", LockHandler))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue