mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-12 01:56:19 -04:00
zig fmt
This commit is contained in:
@@ -558,9 +558,9 @@ pub fn syncRequest(self: *Client, allocator: Allocator, req: Request) !SyncRespo
|
||||
while (sync_ctx.completion == .in_progress) {
|
||||
self.tick(200, .sync_wait) catch |err| {
|
||||
if (sync_ctx.completion == .in_progress) {
|
||||
// tick failed for a reason unrelated to our transfer (likely OOM or
|
||||
// client disconnect). transfer.req.ctx points at &sync_ctx on this
|
||||
// stack — abort to sever that reference before we return
|
||||
// tick failed for a reason unrelated to our transfer (likely OOM or
|
||||
// client disconnect). transfer.req.ctx points at &sync_ctx on this
|
||||
// stack — abort to sever that reference before we return
|
||||
transfer.abort(err);
|
||||
}
|
||||
return err;
|
||||
|
||||
Reference in New Issue
Block a user