server: ensure Send is always deinit in callback

This commit is contained in:
Pierre Tachoire
2024-10-25 09:51:37 +02:00
parent 826f82610e
commit dcdef2f640

View File

@@ -381,7 +381,6 @@ const Send = struct {
fn asyncCbk(self: *Send, _: *Completion, result: SendError!usize) void {
_ = result catch |err| {
self.ctx.err = err;
return;
};
self.deinit();
}