fix machExit bug
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
29475c2e57
commit
8cea2c9f7d
1 changed files with 1 additions and 2 deletions
|
|
@ -31,8 +31,7 @@ pub const Module = struct {
|
||||||
|
|
||||||
pub fn machExit(eng: *Engine) !void {
|
pub fn machExit(eng: *Engine) !void {
|
||||||
try eng.send(.exit);
|
try eng.send(.exit);
|
||||||
var state = eng.mod.mach.state;
|
eng.mod.mach.state.exit = true;
|
||||||
state.exit = true;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue