diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-02-13 22:28:35 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-02-13 22:28:35 +0100 |
commit | ac99467965ba04282b6dbc63c5c04ab91ba1b007 (patch) | |
tree | 306bf55c98f4ad80ca014f47be453f1a67fca38a /src/core.py | |
parent | 6ed087a65c1e7fdc020f11b5247a8feeac7b3517 (diff) | |
download | poezio-ac99467965ba04282b6dbc63c5c04ab91ba1b007.tar.gz poezio-ac99467965ba04282b6dbc63c5c04ab91ba1b007.tar.bz2 poezio-ac99467965ba04282b6dbc63c5c04ab91ba1b007.tar.xz poezio-ac99467965ba04282b6dbc63c5c04ab91ba1b007.zip |
Make the tab collectable by remove self references when closing
them.
Diffstat (limited to 'src/core.py')
-rw-r--r-- | src/core.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py index 41ec12f2..98d2a7fa 100644 --- a/src/core.py +++ b/src/core.py @@ -1303,6 +1303,8 @@ class Core(object): tab.on_close() self.tabs.remove(tab) self.rotate_rooms_left() + del tab.key_func # Remove self references + del tab.commands # and make the object collectable del tab def move_separator(self): |