diff options
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index dff3e9b9..ffcf0dc7 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -53,7 +53,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): """Reset the filemanager, clearing the directory buffer""" old_path = self.env.cwd.path self.previews = {} - self.env.garbage_collect(-1) + self.env.garbage_collect(-1, self.tabs) self.enter_dir(old_path) def reload_cwd(self): |