Add real RawSocket deinit

This commit is contained in:
2026-01-19 14:45:26 -05:00
parent f969d097ab
commit 9359fefdf7

View File

@@ -355,7 +355,8 @@ const RawSocket = struct {
}
fn deinit(self: *RawSocket) void {
_ = self;
_ = std.os.linux.close(self.fd);
self.* = undefined;
}
fn send(self: RawSocket, payload: []const u8) !void {