We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I managed to get this exception in LocalizeRouterPipe, but hard to reproduce.
LocalizeRouterPipe
With current implementation
ngx-translate-router/projects/ngx-translate-router/src/lib/localize-router.pipe.ts
Lines 51 to 56 in 86d2e52
I can only assume it was destroyed while in setTimeout. This was introduced in 851563a.
setTimeout
I suggest we check if view was destroyed before calling .detectChanges() stackoverflow
.detectChanges()
setTimeout(() => { if (this._ref && !(this._ref as ViewRef).destroyed) { this._ref.detectChanges(); } }, 0)
The text was updated successfully, but these errors were encountered:
Is it compatible with and without Ivy ?
Sorry, something went wrong.
No branches or pull requests
I managed to get this exception in
LocalizeRouterPipe
, but hard to reproduce.With current implementation
ngx-translate-router/projects/ngx-translate-router/src/lib/localize-router.pipe.ts
Lines 51 to 56 in 86d2e52
I can only assume it was destroyed while in
setTimeout
. This was introduced in 851563a.I suggest we check if view was destroyed before calling
.detectChanges()
stackoverflowThe text was updated successfully, but these errors were encountered: