From e9dcb75fb3cdbabd7152b0303af4dc27b4bcca3d Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 28 Jul 2018 23:44:32 +0800 Subject: *update --- src/lua/embed/boot.lua.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lua/embed/boot.lua.h') diff --git a/src/lua/embed/boot.lua.h b/src/lua/embed/boot.lua.h index da1feac..ab241f1 100644 --- a/src/lua/embed/boot.lua.h +++ b/src/lua/embed/boot.lua.h @@ -65,6 +65,9 @@ function jin.core.run() end safecall(onEvent, e) end + if not running() then + break + end safecall(onUpdate, dt) -- bind to default render buffer unbind() -- cgit v1.1-26-g67d0