gecko-dev/servo
Emilio Cobos Álvarez c75e54e0c3 Bug 1593865 - Simplify code for keeping alive shared memory until all sheets go away. r=jwatt
The existing code wasn't sound, as CSSOM objects also needed to go away before
the shared memory goes away (as they keep references to them).

This is sound assuming no presence of reference cycles introduced by CSSOM.

We may want to live with this and rely on chrome code not writing cycles like
this with UA stylesheet DOM objects.

We could explicitly drop all potentially-static objects... That seems pretty
error prone though.

Or we could also just leak the shared memory buffer, is there any reason why we
may not want to do that?

Differential Revision: https://phabricator.services.mozilla.com/D51870

--HG--
extra : moz-landing-system : lando
2019-11-07 11:19:23 +00:00
..
components Bug 1593865 - Simplify code for keeping alive shared memory until all sheets go away. r=jwatt 2019-11-07 11:19:23 +00:00
ports/geckolib Bug 1593865 - Simplify code for keeping alive shared memory until all sheets go away. r=jwatt 2019-11-07 11:19:23 +00:00
tests/unit Bug 1582224 - Split SIDEWAYS bit in WritingMode. r=jfkthame,emilio 2019-09-19 02:37:14 +00:00
moz.build Bug 1474793 - Part 7: Add SharedMemoryBuilder type and ToShmem trait. r=emilio 2019-03-30 00:15:59 +00:00
rustfmt.toml