refactor(#2837): multi instance reload (#2885)

* refactor(#2837): multi instance reload

* refactor(#2837): multi instance reload
This commit is contained in:
Alexander Courtis
2024-09-01 15:50:03 +10:00
committed by GitHub
parent 43c3c36c7a
commit ea55ef1203
6 changed files with 282 additions and 290 deletions

View File

@@ -16,7 +16,7 @@ function M.init(foldername)
if TreeExplorer then
TreeExplorer:destroy()
end
TreeExplorer = explorer.Explorer.new(foldername)
TreeExplorer = explorer:new(foldername)
if not first_init_done then
events._dispatch_ready()
first_init_done = true