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

refactor(video): guarantee connectStreams scope is valid #18536

Merged
merged 1 commit into from Aug 11, 2023

Conversation

prlanzarin
Copy link
Member

What does this PR do?

  • refactor(video): guarantee connectStreams scope is valid
    • The original debounce implementation (lodash) preserved the caller's context - radash didn't, so it was failing and it wasn't noticed.
    • The new debounce implementation with the native function seems to preserve caller's context, but as a safety measure this commit binds the method to its appropriate scope.

Closes Issue(s)

None

More

Found while reviewing the grid size PR.

The original debounce implementation (lodash) preserved the
caller's context - radash didn't, so it was failing and it wasn't noticed.

The new debounce implementation with the native function seems to preserve caller's context, but as a safety measure this commit binds the method to its appropriate scope.
@prlanzarin prlanzarin added this to the Release 2.7 milestone Aug 11, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 11, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@prlanzarin prlanzarin merged commit 732cedf into v2.7.x-release Aug 11, 2023
17 checks passed
@prlanzarin prlanzarin deleted the u27/fix/video-page-wrong-scope branch August 11, 2023 15:04
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.

None yet

1 participant