*Release lock before throwing error

This commit is contained in:
Derrick Hammer 2022-12-17 15:58:46 -05:00
parent 621230ef2c
commit 7fa2ec9f8e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -170,6 +170,7 @@ export class RPCServer extends EventEmitter {
}
if (error) {
this.getRequestLock(request)?.release();
throw error;
}