mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
lua_hourglass: try to fix hide on exit
This commit is contained in:
@@ -139,6 +139,7 @@ int CLuaInstHourGlass::HourGlassDelete(lua_State *L)
|
|||||||
LUA_DEBUG("CLuaInstHourGlass::%s %d\n", __func__, lua_gettop(L));
|
LUA_DEBUG("CLuaInstHourGlass::%s %d\n", __func__, lua_gettop(L));
|
||||||
CLuaHourGlass *D = HourGlassCheck(L, 1);
|
CLuaHourGlass *D = HourGlassCheck(L, 1);
|
||||||
if (!D) return 0;
|
if (!D) return 0;
|
||||||
|
D->h->kill();
|
||||||
delete D;
|
delete D;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user