In single-process mode, we only start a BHM if the options has been set:
|
if opts::get().background_hang_monitor { |
But we don't perform this check before starting the BHM in multi-process mode:
|
let background_hang_monitor_register = |
I think we should. The same opts is available there as well.
In single-process mode, we only start a BHM if the options has been set:
servo/components/constellation/pipeline.rs
Line 322 in af1ebe7
But we don't perform this check before starting the BHM in multi-process mode:
servo/components/servo/lib.rs
Line 1019 in b3c12ad
I think we should. The same
optsis available there as well.