Skip to content

Commit

Permalink
Fix: changesEvents reset value
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignatella committed Nov 9, 2024
1 parent ffa0982 commit 5974594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func (monitor *Monitor) monitor() {
Changes: changesEvents,
}

changesEvents = make([]*MonitorEvent, 0)
changesEvents = nil
}
}
}
Expand Down

0 comments on commit 5974594

Please sign in to comment.