aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r--components/layout/layout_task.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs
index 4fd06ecbe02..2756780dfb2 100644
--- a/components/layout/layout_task.rs
+++ b/components/layout/layout_task.rs
@@ -601,9 +601,11 @@ impl LayoutTask {
self.exit_now(possibly_locked_rw_data, exit_type);
break
}
+ Msg::CollectReports(_) => {
+ // Just ignore these messages at this point.
+ }
_ => {
- panic!("layout: message that wasn't `ExitNow` received after \
- `PrepareToExitMsg`")
+ panic!("layout: unexpected message received after `PrepareToExitMsg`")
}
}
}