mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove spurious JS_Init call.
Runtime::new() will call JS_Init a second time, leading to an assertion.
This commit is contained in:
parent
cc7953e25e
commit
1da1b62128
1 changed files with 0 additions and 1 deletions
|
@ -158,7 +158,6 @@ fn perform_platform_specific_initialization() {}
|
|||
#[allow(unsafe_code)]
|
||||
pub fn init() {
|
||||
unsafe {
|
||||
assert_eq!(js::jsapi::JS_Init(), true);
|
||||
SetDOMProxyInformation(ptr::null(), 0, Some(script_thread::shadow_check_callback));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue