We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18080ce commit f508288Copy full SHA for f508288
src/server.zig
@@ -223,14 +223,14 @@ const Server = struct {
223
&self.close_completion,
224
socket,
225
);
226
- }
227
-
228
- fn callbackClose(self: *Server, completion: *Completion, _: CloseError!void) void {
229
- std.debug.assert(completion == &self.close_completion);
230
var client = self.client.?;
231
client.deinit();
232
self.client_pool.destroy(client);
233
self.client = null;
+ }
+
+ fn callbackClose(self: *Server, completion: *Completion, _: CloseError!void) void {
+ std.debug.assert(completion == &self.close_completion);
234
self.queueAccept();
235
}
236
};
0 commit comments