diff --git a/src/main/modules/mutex/simple-mutex.ts b/src/main/modules/mutex/simple-mutex.ts index f982ff5..a313910 100644 --- a/src/main/modules/mutex/simple-mutex.ts +++ b/src/main/modules/mutex/simple-mutex.ts @@ -40,7 +40,7 @@ export class SimpleMutex implements IMutex { this.locked = true; // this is the function which gets called by the consumer to release the lock - // it also dispatches the next consumer (recursive call) + // it also dispatches the next consumer const releaseFunction = (): void => { this.locked = false; this.dispatch();