From ec525cfcbf9b4c3c528f2dc9b7cd14cf9ead4130 Mon Sep 17 00:00:00 2001 From: Krishna Waske Date: Wed, 8 Jan 2025 17:54:39 +0530 Subject: [PATCH] chore: fixes restart without indy pool disconnect (#2137) Signed-off-by: Krishna Waske --- packages/indy-vdr/src/pool/IndyVdrPool.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/indy-vdr/src/pool/IndyVdrPool.ts b/packages/indy-vdr/src/pool/IndyVdrPool.ts index e2d3a8c57e..c2292d9975 100644 --- a/packages/indy-vdr/src/pool/IndyVdrPool.ts +++ b/packages/indy-vdr/src/pool/IndyVdrPool.ts @@ -58,7 +58,7 @@ export class IndyVdrPool { public connect() { if (this._pool) { - throw new IndyVdrError('Cannot connect to pool, already connected.') + return } this._pool = new PoolCreate({ @@ -96,7 +96,7 @@ export class IndyVdrPool { throw new IndyVdrError("Can't close pool. Pool is not connected") } - // FIXME: this method doesn't work?? + // FIXME: Currently, the close method is not working correctly in the indy-vdr-shared package // this.pool.close() }