This commit is contained in:
Andras Schmelczer 2025-11-30 15:25:20 +00:00
parent 829a16aa77
commit 9015c78598
9 changed files with 1097 additions and 8 deletions

View file

@ -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;
}