forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1884029 - part1 : run postponed tasks when start running the engi…
…ne. r=jolin Instead of hooking them into the init promise, we can simply store the runnables and exercute them when the engine is ready for use. Then we don't need to worry about handling those promises and tracking promises by using a request holder, which makes thing easier. As those tasks are not urgent, they can definitely be waited until the engine is ready. Differential Revision: https://phabricator.services.mozilla.com/D203862
- Loading branch information
1 parent
c9c92ba
commit 0742ceb
Showing
2 changed files
with
47 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters