mirror of
https://github.com/servo/servo.git
synced 2025-07-25 16:20:36 +01:00
Make the layout content process shutdown sender optional.
This commit is contained in:
parent
6778043340
commit
c044b66979
5 changed files with 9 additions and 7 deletions
|
@ -180,7 +180,7 @@ pub struct NewLayoutInfo {
|
|||
/// A sender for the layout thread to communicate to the constellation.
|
||||
pub layout_to_constellation_chan: IpcSender<LayoutMsg>,
|
||||
/// A shutdown channel so that layout can tell the content process to shut down when it's done.
|
||||
pub content_process_shutdown_chan: IpcSender<()>,
|
||||
pub content_process_shutdown_chan: Option<IpcSender<()>>,
|
||||
/// Number of threads to use for layout.
|
||||
pub layout_threads: usize,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue