From 01b045ff2e707a0e64b63591a01f5b1b92601f02 Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Tue, 5 Nov 2024 16:00:04 +0000 Subject: [PATCH] Clean up a comment --- src/blob-store/downloader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blob-store/downloader.js b/src/blob-store/downloader.js index c4275f24..857c7d1a 100644 --- a/src/blob-store/downloader.js +++ b/src/blob-store/downloader.js @@ -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() }