Finished runner library

This commit is contained in:
2023-01-20 23:03:00 +00:00
parent c47ee68b3f
commit 69f5151310
7 changed files with 334 additions and 23 deletions

View File

@@ -2438,7 +2438,10 @@ void freeInterpreter(Interpreter* interpreter) {
interpreter->scope = popScope(interpreter->scope);
}
freeLiteralDictionary(interpreter->hooks);
FREE(LiteralDictionary, interpreter->hooks);
if (interpreter->hooks) {
freeLiteralDictionary(interpreter->hooks);
FREE(LiteralDictionary, interpreter->hooks);
}
interpreter->hooks = NULL;
}