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

fix: saveConnections listener not being disposed #7407

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

BeksOmega
Copy link
Collaborator

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide
  • I ran npm run format and npm run lint

The details

Resolves

Fixes N/A

Proposed Changes

Dispose of saveConnections change listeners when the mutator bubble is hidden.

Reason for Changes

We weren't properly cleaning up saveConnections listeners, so blocks with mutators were just getting more of them every time their mutators were opened. Not great for performance.

Test Coverage

saveConnections behavior is covered by existing tests.

Documentation

N/A

Additional Information

N/A

@BeksOmega BeksOmega requested a review from a team as a code owner August 17, 2023 18:21
@github-actions github-actions bot added the PR: fix Fixes a bug label Aug 17, 2023
@BeksOmega BeksOmega merged commit 82f6ca5 into google:develop Aug 17, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants