From 4e157308583749a19c6fa1437995d140276dc80c Mon Sep 17 00:00:00 2001 From: Xymorot Date: Tue, 5 Jan 2021 01:45:16 +0100 Subject: [PATCH] meta: remove wrong explanation --- src/main/modules/mutex/simple-mutex.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();