mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
fix read of undefined in http tests
This commit is contained in:
parent
cfb5350ed4
commit
57f45cc87c
1 changed files with 1 additions and 1 deletions
|
|
@ -1105,8 +1105,8 @@ fn createTestServer(S: type) !*TestServer {
|
|||
const test_server = try std.testing.allocator.create(TestServer);
|
||||
test_server.* = .{
|
||||
.net_server = try address.listen(.{ .reuse_address = true }),
|
||||
.server_thread = try std.Thread.spawn(.{}, S.run, .{test_server}),
|
||||
.shutting_down = false,
|
||||
.server_thread = try std.Thread.spawn(.{}, S.run, .{test_server}),
|
||||
};
|
||||
return test_server;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue