vm: deinit globals on vm deinit
This commit is contained in:
parent
3a6df2d9ea
commit
e3ac28d84e
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue