Skip to content

Commit

Permalink
Clean up a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn committed Nov 5, 2024
1 parent 3625631 commit 01b045f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blob-store/downloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export class Downloader extends TypedEmitter {
for (const download of this.#queuedDownloads) download.destroy()
this.#ac.signal.removeEventListener('abort', this.#handleAbort)
this.#entriesStream.removeListener('error', this.#ac.abort)
// queuedDownloads should always be empty by here anyway, but just in case.
// queuedDownloads is likely to be empty here anyway, but clear just in case.
this.#queuedDownloads.clear()
this.#entriesStream.destroy()
}
Expand Down

0 comments on commit 01b045f

Please sign in to comment.