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: (platform) Fixing unsubscribe error onDestroy of DynamicPage component #3795

Merged
merged 1 commit into from
Nov 10, 2020

Conversation

KevinOkamoto
Copy link
Member

@KevinOkamoto KevinOkamoto commented Nov 10, 2020

Please provide a link to the associated issue.

fixes #3793

Please provide a brief summary of this pull request.

Adding initialization of dummy subscriptions so that during the OnDestroy lifecycle hook, the code will not error trying to call unsubscribe() on an undefined variable.

Please check whether the PR fulfills the following requirements

@netlify
Copy link

netlify bot commented Nov 10, 2020

Deploy preview for fundamental-ngx ready!

Built with commit 1a430a2

https://deploy-preview-3795--fundamental-ngx.netlify.app

@droshev droshev merged commit 3b2b015 into master Nov 10, 2020
@droshev droshev deleted the fix/dynamic-page-unsubscribe-error branch November 10, 2020 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Platform Development
  
Awaiting triage
Development

Successfully merging this pull request may close these issues.

Dynamic Page: (platform) Unsubscribe error in OnDestroy hook
3 participants