From 89b8d5fbbfd458222ceace5048b08df3daceebcc Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sat, 20 Nov 2021 10:33:26 +0100 Subject: [PATCH] lua_hourglass: try to fix hide on exit --- src/gui/lua/lua_hourglass.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/lua/lua_hourglass.cpp b/src/gui/lua/lua_hourglass.cpp index 3c87ba709..f75496f0a 100644 --- a/src/gui/lua/lua_hourglass.cpp +++ b/src/gui/lua/lua_hourglass.cpp @@ -139,6 +139,7 @@ int CLuaInstHourGlass::HourGlassDelete(lua_State *L) LUA_DEBUG("CLuaInstHourGlass::%s %d\n", __func__, lua_gettop(L)); CLuaHourGlass *D = HourGlassCheck(L, 1); if (!D) return 0; + D->h->kill(); delete D; return 0; }