summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
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):