diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-10-29 08:31:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-29 08:31:12 -0400 |
commit | e580250d5d99060b0ee8d88e3ff66b6d9ec24050 (patch) | |
tree | 50cef42fbbcb2be06540791dd9bf7ac9d5b697df /support/magicleap/Servo2D/code/src/main.cpp | |
parent | cbd81d2ad9d57d9298719d9bd58ff1fe7a444255 (diff) | |
parent | 2a7db8916ea71d3b0498c8f8d2cec717aef9ae74 (diff) | |
download | servo-e580250d5d99060b0ee8d88e3ff66b6d9ec24050.tar.gz servo-e580250d5d99060b0ee8d88e3ff66b6d9ec24050.zip |
Auto merge of #21988 - CYBAI:drop-promises, r=jdm
Clear refcounted promise before dropping JSRuntime
Not sure if this is the right solution?
I also tried to `impl Drop for LiveDOMReferences` but it's still executed after dropping JSRuntime.
So, maybe we should clear it before dropping the JSRuntime?
cc @jdm @asajeffrey
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21331 .
- [x] There are tests for these changes; the status of `fetch/cross-origin-resource-policy/fetch-in-iframe.html` will be `OK`
<!-- 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/21988)
<!-- Reviewable:end -->
Diffstat (limited to 'support/magicleap/Servo2D/code/src/main.cpp')
0 files changed, 0 insertions, 0 deletions