Made objects clear more handlers on deletion, also scramble some methods and all database access wrappers to avoid an object memory instance being accessed after it has been deleted. See #509.
This commit is contained in:
parent
81aa43933c
commit
3a6a8d5c48
3 changed files with 34 additions and 4 deletions
|
|
@ -542,7 +542,7 @@ class CmdDestroy(MuxCommand):
|
|||
# do the deletion
|
||||
okay = obj.delete()
|
||||
if not okay:
|
||||
string += "\nERROR: %s not deleted, probably because at_obj_delete() returned False." % objname
|
||||
string += "\nERROR: %s not deleted, probably because delete() returned False." % objname
|
||||
else:
|
||||
string += "\n%s was destroyed." % objname
|
||||
if had_exits:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue