mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-05-05 16:30:17 +10:00
Tweaked stack allocation when inheriting VMs
This commit is contained in:
+1
-1
@@ -379,7 +379,7 @@ int repl(const char* filepath, bool verbose) {
|
||||
}
|
||||
|
||||
//free the memory, and leave the VM ready for the next loop
|
||||
Toy_resetVM(&vm, true);
|
||||
Toy_resetVM(&vm, true, true);
|
||||
free(bytecode);
|
||||
|
||||
printf("%s> ", prompt); //shows the terminal prompt
|
||||
|
||||
Reference in New Issue
Block a user