Fix take over file scope variables with mruby command

Resolve #4931
This commit is contained in:
dearblue
2020-01-19 21:44:23 +09:00
parent 893cc2780c
commit 2bab6e197d
@@ -317,6 +317,7 @@ main(int argc, char **argv)
v = mrb_load_file_cxt(mrb, lfp, c);
}
fclose(lfp);
mrbc_cleanup_local_variables(mrb, c);
}
/* Load program */