From d36ed61f905a3b6264cf3e5d583a7895281525e9 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 18 Nov 2023 15:00:58 -0600 Subject: Fix issue with garbage collector in mpdarc reset_garbage_collector started uninitialized in one function, so we initialize it to 0 everywhere. --- mpdarc-widget/mpdarc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpdarc-widget/mpdarc.lua b/mpdarc-widget/mpdarc.lua index d5e6ae9..d643725 100644 --- a/mpdarc-widget/mpdarc.lua +++ b/mpdarc-widget/mpdarc.lua @@ -100,7 +100,7 @@ end) local notification local function show_MPD_status() - local reset_garbage_collector + local reset_garbage_collector = 0 spawn.easy_async(GET_MPD_CMD, function(stdout, _, _, _) notification = naughty.notify { -- cgit v1.2.3