Always from that profile, if I interpret well during `~PresShell` we really just free memory with calling any other dtors, and it is taking a significant amount of time. I think we could defer this with `ClearOnShutdown` ?
Bug 1809115 Comment 9 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Always from that profile, if I interpret well during `~PresShell` we really just free memory without calling any other dtors, and it is taking a significant amount of time. I think we could defer this with `ClearOnShutdown` ?