mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
server: ensure Send is always deinit in callback
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user