Make the layout content process shutdown sender optional.

This commit is contained in:
Ms2ger 2016-11-28 10:03:09 +01:00
parent 6778043340
commit c044b66979
5 changed files with 9 additions and 7 deletions

View file

@ -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,
}