feat(win32 gui): issue quit command on window close and exit cleanly
This commit is contained in:
parent
21a7106fe3
commit
a6b29e4fe9
2 changed files with 14 additions and 2 deletions
|
@ -125,8 +125,8 @@ pub fn render(self: *Self) error{}!void {
|
|||
}
|
||||
}
|
||||
pub fn stop(self: *Self) void {
|
||||
_ = self;
|
||||
std.log.warn("TODO: implement stop", .{});
|
||||
gui.stop();
|
||||
if (self.thread) |thread| thread.join();
|
||||
}
|
||||
|
||||
pub fn stdplane(self: *Self) Plane {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue