Skip to content

Commit

Permalink
Fixed never stopping OverseerListUpdate event
Browse files Browse the repository at this point in the history
  • Loading branch information
EasonMo committed Dec 26, 2024
1 parent 7a2efdd commit a6d2f61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/overseer/component/display_duration.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ local comp = {
end,
on_complete = function(self)
self.duration = os.time() - self.start_time
if timer then
timer:stop()
end
end,
render = function(self, task, lines, highlights, detail)
if detail < params.detail_level or (not self.duration and not self.start_time) then
Expand Down

0 comments on commit a6d2f61

Please sign in to comment.