fix machExit bug

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-08-22 18:26:13 -07:00
parent 29475c2e57
commit 8cea2c9f7d

View file

@ -31,8 +31,7 @@ pub const Module = struct {
pub fn machExit(eng: *Engine) !void {
try eng.send(.exit);
var state = eng.mod.mach.state;
state.exit = true;
eng.mod.mach.state.exit = true;
}
};