Skip to content

Fix issue with debounce function running after component was unmounted - #15045

Merged
stacey-gammon merged 1 commit into
elastic:masterfrom
stacey-gammon:fix/deounce-test-error
Nov 18, 2017
Merged

stacey-gammon merged 1 commit into
elastic:masterfrom
stacey-gammon:fix/deounce-test-error

Conversation

@stacey-gammon

Copy link
Copy Markdown

If you switched the page quickly from visualize to dashboard you could hit this error:

dashboard app dashboard queries after all hook 3

This is causing build failures. This will fix that by canceling the debounce if the component is unmounted.

@stacey-gammon

Copy link
Copy Markdown
Author

I've decided to submit now without waiting for a review to get the build passing again, and it's the weekend, but will address any feedback on Monday.

I don't need to backport this because I haven't checked in the original backport, and am fixing the issue directly in the original backport: #15039

@stacey-gammon
stacey-gammon merged commit d80ff83 into elastic:master Nov 18, 2017
@stacey-gammon
stacey-gammon deleted the fix/deounce-test-error branch September 21, 2018 14:46
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant