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
Reproducing in 2.5.0 + scheduler 1.1.0 for any calendar with attached
resources. Destroying + rebuilding the calendar should free
all the resources (and it does work perfectly when it's filled
just with events alone).
However, if there's any resources present, you can notice the huge amount
of retainers - orphaned DOM elements etc. The number rapidly increases
with each cycle.
I've fixed the library to prevent this, but not in the most efficient
way I'm afraid. Seeing a performance drop after the fix.
The text was updated successfully, but these errors were encountered:
Take an initial heap snapshot and another one after 20-30 cycles of destroy+init.
If you compare them, the 1st bin shows no detached dom objects, the 2nd
one ends up with 5k+ orphaned divs.
reported by Kieren Grant:
Been playing around with some scheduler demos and noticed this:
https://output.jsbin.com/nupisayule
Reproducing in 2.5.0 + scheduler 1.1.0 for any calendar with attached
resources. Destroying + rebuilding the calendar should free
all the resources (and it does work perfectly when it's filled
just with events alone).
However, if there's any resources present, you can notice the huge amount
of retainers - orphaned DOM elements etc. The number rapidly increases
with each cycle.
I've fixed the library to prevent this, but not in the most efficient
way I'm afraid. Seeing a performance drop after the fix.
The text was updated successfully, but these errors were encountered: