mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
Make Background Hang Monitor Optional
This is done by wrapping all channels of communication and related objects inside Option which are configured using flag inside servo_config.
This commit is contained in:
parent
ada95b9878
commit
a05553f188
9 changed files with 126 additions and 74 deletions
|
@ -36,7 +36,7 @@ pub trait LayoutThreadFactory {
|
|||
is_iframe: bool,
|
||||
chan: (Sender<Self::Message>, Receiver<Self::Message>),
|
||||
pipeline_port: IpcReceiver<LayoutControlMsg>,
|
||||
background_hang_monitor: Box<dyn BackgroundHangMonitorRegister>,
|
||||
background_hang_monitor: Option<Box<dyn BackgroundHangMonitorRegister>>,
|
||||
constellation_chan: IpcSender<ConstellationMsg>,
|
||||
script_chan: IpcSender<ConstellationControlMsg>,
|
||||
image_cache: Arc<dyn ImageCache>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue