chore: remove TreeExplorer global variable (#2561)

This commit is contained in:
Azad
2023-11-28 10:39:52 +01:00
committed by GitHub
parent d5cc938ab0
commit 05f55c1fd6
3 changed files with 8 additions and 4 deletions

View File

@@ -752,7 +752,7 @@ function M.purge_all_state()
view.abandon_all_windows()
if core.get_explorer() ~= nil then
git.purge_state()
TreeExplorer = nil
core.reset_explorer()
end
end