Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure SpiderMonkey shuts down cleanly #24862

Merged
merged 2 commits into from Nov 27, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Remove use of deprecated language construct.

  • Loading branch information
jdm committed Nov 27, 2019
commit 1c7f2d696c4c19238d1362497db3ca1b866cc3da
@@ -816,7 +816,7 @@ unsafe fn set_gc_zeal_options(cx: *mut RawJSContext) {
use js::jsapi::{JS_SetGCZeal, JS_DEFAULT_ZEAL_FREQ};

let level = match pref!(js.mem.gc.zeal.level) {
level @ 0...14 => level as u8,
level @ 0..=14 => level as u8,
_ => return,
};
let frequency = match pref!(js.mem.gc.zeal.frequency) {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.