diff options
| author | Robby Zambito <contact@robbyzambito.me> | 2026-01-09 20:08:33 -0500 |
|---|---|---|
| committer | Robby Zambito <contact@robbyzambito.me> | 2026-01-10 09:21:18 -0500 |
| commit | 4a228c8dba8f16bbf58240162013ce7c6e378405 (patch) | |
| tree | f800eef2504d9301263208722396ca7320b747c6 /src/Server/Client.zig | |
| parent | aec871ebdb8d29d05285cad87f38bb768e2ff703 (diff) | |
switch to uuids for clients
Diffstat (limited to 'src/Server/Client.zig')
| -rw-r--r-- | src/Server/Client.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Server/Client.zig b/src/Server/Client.zig index 26be79f..77034fd 100644 --- a/src/Server/Client.zig +++ b/src/Server/Client.zig @@ -29,11 +29,10 @@ pub fn init( }; } -pub fn deinit(self: *Client, alloc: std.mem.Allocator) void { +pub fn deinit(self: Client, alloc: std.mem.Allocator) void { if (self.connect) |c| { c.deinit(alloc); } - self.* = undefined; } pub fn start(self: *Client, io: std.Io) !void { |
