This fixes the memory leak in the portal helper. The problem was that we
were never unregistering the call to domMutate.onNodeRemoval so there
was always a pointer to the MutationObserver that is observing the
document.
This adds a page in benchmark/portal-mem.html that can be used to find
memory leaks.
This fixes the memory leak in the portal helper. The problem was that we were never unregistering the call to
domMutate.onNodeRemoval
so there was always a pointer to the MutationObserver that is observing the document.This adds a page in
benchmark/portal-mem.html
that can be used to find memory leaks.Fixes #684