From 73bb13cbc69844214142d8bd327bd68267363cc7 Mon Sep 17 00:00:00 2001 From: qeffects Date: Wed, 21 Jul 2021 21:53:57 +0300 Subject: [PATCH] bug fix --- core/stack.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/stack.lua b/core/stack.lua index 4ba86b8..550df53 100644 --- a/core/stack.lua +++ b/core/stack.lua @@ -100,9 +100,8 @@ function context:endSelfRender(time) end function context:destroy() - self.elem:undraw() for i = 1, #self.childrenContexts do - self.childrenContexts[i]:destroy() + self.childrenContexts[i].element:destroy() end end