meta: remove wrong explanation
This commit is contained in:
parent
d711e39ce5
commit
4e15730858
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue