refactor(#2826): add lifecycle logging to all Explorer members

This commit is contained in:
Alexander Courtis
2025-06-16 13:55:35 +10:00
parent fc81249d4f
commit 54439447f1
9 changed files with 63 additions and 20 deletions

View File

@@ -25,13 +25,17 @@ local Marks = Class:extend()
---@protected
---@param args MarksArgs
function Marks:new(args)
args.explorer:log_lifecycle("Marks:new")
args.explorer:log_new("Marks")
self.explorer = args.explorer
self.marks = {}
end
function Marks:destroy()
self.explorer:log_destroy("Marks")
end
---Clear all marks and reload if watchers disabled
---@private
function Marks:clear_reload()