Skip to content

Commit

Permalink
chore: fixes restart without indy pool disconnect (#2137)
Browse files Browse the repository at this point in the history
Signed-off-by: Krishna Waske <[email protected]>
  • Loading branch information
GHkrishna authored Jan 8, 2025
1 parent 3ce7f2b commit ec525cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/indy-vdr/src/pool/IndyVdrPool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -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()
}

Expand Down

0 comments on commit ec525cf

Please sign in to comment.