feat(win32 gui): issue quit command on window close and exit cleanly

This commit is contained in:
CJ van den Berg 2025-01-06 10:05:19 +01:00
parent 21a7106fe3
commit a6b29e4fe9
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 14 additions and 2 deletions

View file

@ -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 {