Skip to content
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

Disconnect tfChain provider #2177

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

0oM4R
Copy link
Contributor

@0oM4R 0oM4R commented Feb 15, 2024

disconnect the provider in catch block
fixs

Description

in case of error, the provider will keep trying to connect even if we throw an error, this is the default behavior of WSProvider.

Changes

declared the provider outside try block, and in catch block force the provider to disconnect

Related Issues

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstrings
  • Screenshots/Video attached (needed for UI changes)

disconnect the provider in catch block
fixs #2092
@MohamedElmdary MohamedElmdary merged commit 5088770 into development_314 Feb 19, 2024
2 checks passed
@MohamedElmdary MohamedElmdary deleted the development_tfchain_disconnect branch February 19, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants