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

Make sure Explorer always has a value #775

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

kmcginnes
Copy link
Collaborator

Description

Ensure that the code that requests an Explorer instance always receives a value. When there is no active connection, use an emptyExplorer instance that simply returns empty results for any function calls.

This fixes an app crash bug (#774) that I introduced in a recent change. It also allowed me to clean up some null checking code that is no longer necessary.

Validation

  • Smoke tested

Related Issues

Check List

  • I confirm that my contribution is made under the terms of the Apache 2.0
    license.
  • I have run pnpm checks to ensure code compiles and meets standards.
  • I have run pnpm test to check if all tests are passing.
  • I have covered new added functionality with unit tests if necessary.
  • I have added an entry in the Changelog.md.

@kmcginnes kmcginnes force-pushed the fix-deleting-connection branch from 6794076 to 8d6a1b6 Compare February 2, 2025 18:26
@kmcginnes kmcginnes marked this pull request as ready for review February 2, 2025 18:27
@andreachild
Copy link

LGTM

@kmcginnes kmcginnes merged commit 216e970 into aws:main Feb 3, 2025
1 check passed
@kmcginnes kmcginnes deleted the fix-deleting-connection branch February 3, 2025 19:05
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.

App crashes after deleting a connection
2 participants