Files
servo/components
bors-servo 302e2cf5a4 Auto merge of #21647 - AgustinCB:fix-space-leak-when-pipeline-is-closed, r=asajeffrey
Fix space leak when pipeline is closed

Add a new control message to drop remove worklets.

Implement `Drop` for `Worklet` and get the worklet thread pool. Use that
pool to send `ExitWorklet` to all the threads with the id of the
`Worklet` that it's dropping.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #17442
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because I don't know how to add a test for this :(

If you consider this needs a test, could you point me out on how to write (and run!) one in this project? I gave this a couple tries, but I wasn't very successful.

<!-- 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/21647)
<!-- Reviewable:end -->
2018-09-20 15:35:19 -04:00
..
2018-09-03 12:56:22 +02:00
2018-09-17 16:24:01 +02:00
2018-09-12 11:25:45 +08:00
2018-09-02 08:27:07 +08:00
2018-09-09 10:11:08 +08:00
2018-09-09 10:14:36 +08:00
2018-09-18 11:52:39 +02:00
2018-09-11 15:04:55 +08:00
2018-09-12 12:37:11 +05:30
2018-09-18 11:46:01 +02:00
2018-09-05 22:53:03 +09:00