From 7fa2ec9f8edecc8f9e9bf087f49e65b70862dddc Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 17 Dec 2022 15:58:46 -0500 Subject: [PATCH] *Release lock before throwing error --- src/modules/rpc/server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/rpc/server.ts b/src/modules/rpc/server.ts index c213c66..bef30bd 100644 --- a/src/modules/rpc/server.ts +++ b/src/modules/rpc/server.ts @@ -170,6 +170,7 @@ export class RPCServer extends EventEmitter { } if (error) { + this.getRequestLock(request)?.release(); throw error; }