Merge pull request #284 from lightpanda-io/server-sync-deinit

server: ensure Send is always deinit in callback
This commit is contained in:
Francis Bouvier
2024-11-06 18:17:10 +01:00
committed by GitHub

View File

@@ -415,7 +415,6 @@ const Send = struct {
_ = result catch |err| { _ = result catch |err| {
log.err("send error: {any}", .{err}); log.err("send error: {any}", .{err});
self.ctx.err = err; self.ctx.err = err;
return;
}; };
self.deinit(); self.deinit();
} }