You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The number of js event listeners only increases during switching between component and directive view in the demo. The same issue is observed on prod in my project where ace wrapper is used. This is a marker of memory leak/performance gap for the user who stays longer on the page.
To reproduce:
Go to the ngx-wrapper example app
Open the Performance monitor tab in the Chrome dev tab
Click the Switch to component/directive button multiple times
Observe JS Event listeners graph goes higher each time, and unsubscribing doesn't happen much
It looks like a problem with Ace itself, but I'm creating this to check if fixing it from the wrapper is possible.
The text was updated successfully, but these errors were encountered:
For me it seems like instance.destroy() is not called.
I tried to do this on my own in ngOnDestroy but this is already too late and there's no instance available anymore.
Please fix this!
The number of js event listeners only increases during switching between component and directive view in the demo. The same issue is observed on prod in my project where ace wrapper is used. This is a marker of memory leak/performance gap for the user who stays longer on the page.
To reproduce:
It looks like a problem with Ace itself, but I'm creating this to check if fixing it from the wrapper is possible.
The text was updated successfully, but these errors were encountered: