Auto merge of #24862 - jdm:js-init-destroy-fit-the-second, r=asajeffrey

Ensure SpiderMonkey shuts down cleanly

This is the alternate solution that I described in #24845. Given how much simpler the resulting code is, I'm now much more in favour of this design. Depends on https://github.com/servo/rust-mozjs/pull/487.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21696 and fix #22276
- [x] There are tests for these changes
This commit is contained in:
bors-servo 2019-11-27 01:23:20 -05:00 committed by GitHub
commit f166422102
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 9 deletions

2
Cargo.lock generated
View file

@ -3397,7 +3397,7 @@ dependencies = [
[[package]]
name = "mozjs"
version = "0.12.1"
source = "git+https://github.com/servo/rust-mozjs#c2896b9c9f8681070890bc9582378472d0139b13"
source = "git+https://github.com/servo/rust-mozjs#9b0d063ba062f4cc60c3bab9250218d6935d647b"
dependencies = [
"cc",
"lazy_static",