From 1aaca9da95ae634633db62aaf3be706a7f57504a Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Fri, 4 Nov 2022 19:08:52 +0100 Subject: [PATCH] Semaphore.acquire should return symbol Signed-off-by: Marcel Klehr --- src/utils/semaphoreWithPriority.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/semaphoreWithPriority.js b/src/utils/semaphoreWithPriority.js index 154f4ec94e..33ad2ba704 100644 --- a/src/utils/semaphoreWithPriority.js +++ b/src/utils/semaphoreWithPriority.js @@ -36,6 +36,7 @@ export default class SemaphoreWithPriority { if (this.#active.length < this.#capacity) { this.#callNextJob() } + return symbol }) }