mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Restore exit after load command line flag.
Also updates glutin with a crash fix that was exposed by this patch.
This commit is contained in:
parent
2f4bdc6ad6
commit
4f28c93f40
6 changed files with 24 additions and 12 deletions
|
@ -183,7 +183,8 @@ impl<'a> LayoutContext<'a> {
|
|||
Err(state) => {
|
||||
// If we are emitting an output file, then we need to block on
|
||||
// image load or we risk emitting an output file missing the image.
|
||||
let is_sync = opts::get().output_file.is_some();
|
||||
let is_sync = opts::get().output_file.is_some() ||
|
||||
opts::get().exit_after_load;
|
||||
|
||||
match (state, is_sync) {
|
||||
// Image failed to load, so just return nothing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue