mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Finished runner library
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user