mirror of
https://github.com/evennia/evennia.git
synced 2026-03-17 05:16:31 +01: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):
|
||||
"Cleaning up handlers on the typeclass level"
|
||||
_GA(self, "permissions").clear()
|
||||
_SA(self, "_cached_typeclass", None)
|
||||
_GA(self, "flush_from_cache")()
|
||||
super(TypedObject, self).delete()
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue