From 2ad3c5dcc9fe8ad07fa7a18257e761acd1a99e9b Mon Sep 17 00:00:00 2001 From: Ksaper Date: Mon, 6 Mar 2023 02:06:53 +0200 Subject: [PATCH] Make the table weak --- widget/app_launcher/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/app_launcher/init.lua b/widget/app_launcher/init.lua index 256cedb..c90f547 100644 --- a/widget/app_launcher/init.lua +++ b/widget/app_launcher/init.lua @@ -798,7 +798,7 @@ local function new(args) ret._private.text = "" ret._private.pages_count = 0 ret._private.current_page = 1 - ret._private.apps_widgets_cache = {} + ret._private.apps_widgets_cache = setmetatable({}, { __mode = "v" }) ret._private.search_timer = gtimer { timeout = 0.05, call_now = false,