-
Alex Chronopoulos authored
With tracks in different MTGs we risk of having thread races if we stop and start immediatelly. Previously, stoping and starting was happenign to the same MTG so this problem did not exist. This change wires a promise in the `MediaTrack::RemoveListener` method and perform the start when that step has been completed. Differential Revision: https://phabricator.services.mozilla.com/D57947 --HG-- extra : moz-landing-system : lando
1bb4949d