mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove panic! from the compositor
This commit is contained in:
parent
c011c3197d
commit
5db92870ff
3 changed files with 14 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue