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
I discovered a memory leak in the materialize dependency. Every time you call material_select, the dependency installs a global click handler on window, but never cleans it up.
DataTable calls material_select via handleLimit, which is called every time a new DataTable is created via bindEventsAndApplyStyle. On the default Piwik dashboard, this occurs every time the dashboard is refreshed.
I'm filing this ticket here so you are aware of this leak, if you wish to avoid it at some point. If materialize does not fix this issue, a hackfix could be to remove all jQuery window-level click handlers when the page refreshes
The text was updated successfully, but these errors were encountered:
@jvilk thanks for the notice. Yes, we'd be willing to upgrade, maybe you'd like to open a pull request with the upgraded library? It would automatically run all our UI tests which would help detect any regression automatically. Thanks
I discovered a memory leak in the materialize dependency. Every time you call
material_select
, the dependency installs a globalclick
handler onwindow
, but never cleans it up.DataTable
callsmaterial_select
viahandleLimit
, which is called every time a new DataTable is created viabindEventsAndApplyStyle
. On the default Piwik dashboard, this occurs every time the dashboard is refreshed.I'm filing this ticket here so you are aware of this leak, if you wish to avoid it at some point. If materialize does not fix this issue, a hackfix could be to remove all jQuery window-level
click
handlers when the page refreshesThe text was updated successfully, but these errors were encountered: