mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 22:47:16 +02:00
Some minor refactoring.
This commit is contained in:
parent
42c0235d0d
commit
fdca3ddec9
1 changed files with 2 additions and 0 deletions
|
|
@ -1159,6 +1159,8 @@ class TypedObject(SharedMemoryModel):
|
||||||
def delete(self):
|
def delete(self):
|
||||||
"Cleaning up handlers on the typeclass level"
|
"Cleaning up handlers on the typeclass level"
|
||||||
_GA(self, "permissions").clear()
|
_GA(self, "permissions").clear()
|
||||||
|
_SA(self, "_cached_typeclass", None)
|
||||||
|
_GA(self, "flush_from_cache")()
|
||||||
super(TypedObject, self).delete()
|
super(TypedObject, self).delete()
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue