mirror of
https://github.com/servo/servo
synced 2026-05-10 17:12:23 +02:00
added AutoCloseWorker for closing related workers when a page/another worker is closed. <!-- Please describe your changes on the following line: --> Followed steps as suggested in issue. Error is not yet resolved! --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #17977 (https://github.com/servo/servo/issues/17977?). <!-- Either: --> - [x] These changes do not require tests because it will have manual test case. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20068) <!-- Reviewable:end -->