mirror of
https://github.com/decolua/9router.git
synced 2026-05-08 12:01:28 +00:00
This commit is contained in:
@@ -125,8 +125,8 @@ class LocalMutex {
|
||||
return () => this._release();
|
||||
}
|
||||
return new Promise((resolve) => {
|
||||
this._queue.push(resolve);
|
||||
}).then(() => () => this._release());
|
||||
this._queue.push(() => resolve(() => this._release()));
|
||||
});
|
||||
}
|
||||
|
||||
_release() {
|
||||
|
||||
Reference in New Issue
Block a user