x-data magics patch2

Source Alpine src: /leak2-magic/patch3/patch-magic-cdn.js

This is simplest to do with the gc method exposed in Chrome, e.g. by running it with these flags (alternatively is to manually do GC in Chrome’s memory profiler and then check the content of window.leakDetector and/or the detached elements in profiler):

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --js-flags="--expose-gc" --enable-memory-info

With your Chrome console open:

You can also create a new memory profile in Chrome and filter by Detached elements.

You should now see 0 detached elements.

To be removed