From 59745943aa25267c9eb214c8b4ea81d805a40553 Mon Sep 17 00:00:00 2001 From: ignatella Date: Sat, 9 Nov 2024 11:09:48 +0100 Subject: [PATCH] Fix: changesEvents reset value --- monitor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor.go b/monitor.go index 7bd88f3..7a25e3b 100644 --- a/monitor.go +++ b/monitor.go @@ -302,7 +302,7 @@ func (monitor *Monitor) monitor() { Changes: changesEvents, } - changesEvents = make([]*MonitorEvent, 0) + changesEvents = nil } } }