vm: deinit globals on vm deinit

This commit is contained in:
Luna 2019-06-02 23:13:42 -03:00
parent 3a6df2d9ea
commit e3ac28d84e

View file

@ -106,6 +106,7 @@ pub const VM = struct {
} }
pub fn deinit(self: *VM) void { pub fn deinit(self: *VM) void {
self.globals.deinit();
self.deinitObjects(); self.deinitObjects();
} }