gecko-dev/browser/components/uitour
Kris Maglione 580be6297e Bug 1594572: Schedule worker deletion when primary runnable fails. r=asuth
If we try to start a worker too close to shutdown, the main runnable for its
thread runs after shutdown has begun, bails out early trying to create a
BackgroundChild for its thread. Unlike bail-outs in WorkerPrivate::DoRunLoop,
though, nothing winds up scheduling the deletion of the worker after it
returns, and afterwards the worker is stuck forever in a pending state.
Attempts to shut it down from the main thread just dispatch an impotent
notification to be processed by the workers main event loop (which, of course,
will not ever happen).

This patch fixes the behavior of WorkerThreadPrimaryRunnable to always call
ScheduleDeletion when it exits, rather than only doing so when it succeeds
in entering the worker's main loop.

Differential Revision: https://phabricator.services.mozilla.com/D73134
2020-04-30 03:52:56 +00:00
..
docs Bug 1595953 - Connect UITour-lib.js docs to sphinx-js to publish on firefox-source-docs. r=markh 2019-11-13 02:40:03 +00:00
test Bug 1594572: Schedule worker deletion when primary runnable fails. r=asuth 2020-04-30 03:52:56 +00:00
UITour-lib.js Bug 1601662 - split UITour's 'fxa' request into high and low latency versions r=MattN 2020-01-10 03:37:02 +00:00
UITour.jsm Bug 1608281 - Automated rewrite away from reading properties on the global `this` in JSM files - round 1 r=mossop 2020-01-29 21:50:04 +00:00
UITourChild.jsm Bug 1586108 - Porting UITour to be fission compatible r=Gijs,MattN 2019-11-28 16:51:16 +00:00
UITourParent.jsm Bug 1586108 - Porting UITour to be fission compatible r=Gijs,MattN 2019-11-28 16:51:16 +00:00
moz.build Bug 1586108 - Porting UITour to be fission compatible r=Gijs,MattN 2019-11-28 16:51:16 +00:00