fix fd leak

This commit is contained in:
Emil Lerch 2025-04-08 09:49:08 -07:00
parent a8f57197a7
commit 56cd0714ac
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -132,6 +132,7 @@ pub const EventPoller = struct {
.allocator = self.allocator,
.connection_pool = self.connection_pool,
};
defer client.deinit();
var arena = std.heap.ArenaAllocator.init(self.allocator);
defer arena.deinit();
const aa = arena.allocator();