.
This commit is contained in:
parent
829a16aa77
commit
9015c78598
9 changed files with 1097 additions and 8 deletions
|
|
@ -123,6 +123,9 @@ export class Locks<T> {
|
|||
*/
|
||||
public unlock(key: T): void {
|
||||
if (!this.locked.has(key)) {
|
||||
this.logger?.warn(
|
||||
`Attempted to unlock key "${key}" which is not currently locked`
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue