meta: remove wrong explanation

This commit is contained in:
Xymorot 2021-01-05 01:45:16 +01:00
parent d711e39ce5
commit 4e15730858
1 changed files with 1 additions and 1 deletions

View File

@ -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();