gecko-dev/servo/components/servo_arc
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
..
Cargo.toml Bug 1552080 - Rejigger a bit rust features so that rusttests still link. r=froydnj 2019-05-29 21:30:52 +02:00
lib.rs Bug 1593865 - Simplify code for keeping alive shared memory until all sheets go away. r=jwatt 2019-11-07 11:19:23 +00:00