From 978889e73995732e2422b2640cb261f643755b79 Mon Sep 17 00:00:00 2001 From: actionless Date: Fri, 10 Feb 2017 11:05:48 +0100 Subject: [PATCH] fix(menubar): close count_file after opening closes #1548 --- lib/menubar/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/menubar/init.lua b/lib/menubar/init.lua index 993e48af..d97b8995 100644 --- a/lib/menubar/init.lua +++ b/lib/menubar/init.lua @@ -132,6 +132,7 @@ local function load_count_table() count_table[name] = count end end + count_file:close() end return count_table @@ -150,6 +151,7 @@ local function write_count_table(count_table) io.write(str) end io.flush() + count_file:close() end end