summaryrefslogtreecommitdiff
path: root/lib/supple/host.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/supple/host.lua')
-rw-r--r--lib/supple/host.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/supple/host.lua b/lib/supple/host.lua
index 1226d19..a828046 100644
--- a/lib/supple/host.lua
+++ b/lib/supple/host.lua
@@ -63,7 +63,9 @@ local function run_sandbox(codestr, codename, ...)
-- We need to clean up, so dump all the objects
func = nil
- objects.clean_down()
+ err = nil
+ -- And ask the supple API to clear down too
+ objects.clean_down(true)
comms._set_fd(-1)
luxio.kill(child.pid, luxio.SIGKILL)