diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-09-20 15:35:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-20 15:35:19 -0400 |
commit | 302e2cf5a4ba8b4e7bb3fce20f710a9d2ccd3d4e (patch) | |
tree | 349ffd023951a38dd9d3931912361bbc3f67f432 /components/script/dom/webglrenderbuffer.rs | |
parent | ac331c6663f50300a1b647ecf3fc3df9d46eac97 (diff) | |
parent | b3e85472eda2a017334a9faa3b33a3b4e0184e53 (diff) | |
download | servo-302e2cf5a4ba8b4e7bb3fce20f710a9d2ccd3d4e.tar.gz servo-302e2cf5a4ba8b4e7bb3fce20f710a9d2ccd3d4e.zip |
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 -->
Diffstat (limited to 'components/script/dom/webglrenderbuffer.rs')
0 files changed, 0 insertions, 0 deletions