mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
ensure clean shutdown of all threads running JS
This commit is contained in:
parent
0b61cfc3ae
commit
44ebca72da
25 changed files with 565 additions and 232 deletions
|
@ -1051,11 +1051,7 @@ pub fn run_content_process(token: String) {
|
|||
|
||||
set_logger(content.script_to_constellation_chan().clone());
|
||||
|
||||
let background_hang_monitor_register = if opts::get().background_hang_monitor {
|
||||
content.register_with_background_hang_monitor()
|
||||
} else {
|
||||
None
|
||||
};
|
||||
let background_hang_monitor_register = content.register_with_background_hang_monitor();
|
||||
|
||||
content.start_all::<script_layout_interface::message::Msg,
|
||||
layout_thread::LayoutThread,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue