Remove panic! from the compositor

This commit is contained in:
Alan Jeffrey 2016-04-28 14:18:02 -05:00
parent c011c3197d
commit 5db92870ff
3 changed files with 14 additions and 7 deletions

View file

@ -504,7 +504,8 @@ impl<LTF: LayoutThreadFactory, STF: ScriptThreadFactory> Constellation<LTF, STF>
#[cfg(target_os = "windows")]
fn spawn_multiprocess(&mut self, _: PipelineId, _: UnprivilegedPipelineContent) {
panic!("Multiprocess is not supported on Windows.");
error!("Multiprocess is not supported on Windows.");
process::exit(1);
}
// Push a new (loading) pipeline to the list of pending frame changes