mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:58:12 +00:00
Ladybird: Flush stdout before exit in layout dump output mode
This commit is contained in:
parent
489fe49321
commit
0c6b942ca9
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
view.on_load_finish = [&](auto&) {
|
||||
auto dump = view.dump_layout_tree().release_value_but_fixme_should_propagate_errors();
|
||||
outln("{}", dump);
|
||||
fflush(stdout);
|
||||
_exit(0);
|
||||
};
|
||||
view.load(url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue