mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
fix read of undefined in http tests
This commit is contained in:
parent
7c87691a61
commit
ea9fb3ccfa
@ -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…
x
Reference in New Issue
Block a user