Skip to content

diskcache: fix use-after-finish for background fetch

Warren Gifford requested to merge nsc/disk-cache-observation-useafterfinish into main

Created by: Strum355

From the people behind x/net/trace: image

And a use-after-finish it indeed was. Hard to repro the panic locally as net/trace does a lot of things async and buffered, so my assumption is that the timing just happened to align with the moons and caused this.

Merge request reports

Loading