-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to reinitialize agent once shut downed #2135
Comments
I think the better approach would be to shutdown the pool at agent shutdown and remove the value initialization |
The issue for shutting down of pool still exists in IndyVDR. For now I think we can set the initialized value to null. And once it is resolved in VDR we can retro fit it. What do you think? |
Yes i think that makes sense. But since we can't close it we should reuse the existing pool on initialize again |
…sconnect Signed-off-by: Krishna Waske <[email protected]>
What:
Reinitializing agent with
await agent.initialize()
afterawait agent.shutdown()
gives an indyVdr error due to this implementation. Should we just return instead of throwing error:This becomes,
To reproduce
Version
"@credo-ts/indy-vdr": "0.5.13"
The text was updated successfully, but these errors were encountered: