mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
pro: Stop closing stdout early
This was causing a race-condition where sometimes the response body would not get printed. Co-authored-by: Ali Mohammad Pur <mpfard@serenityos.org>
This commit is contained in:
parent
f06a7f40bf
commit
437c6fc277
Notes:
sideshowbarker
2024-07-17 06:02:15 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/437c6fc277 Pull-request: https://github.com/SerenityOS/serenity/pull/15533 Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 2 deletions
|
@ -329,7 +329,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
dbgln("started request with id {}", request->id());
|
||||
|
||||
auto rc = loop.exec();
|
||||
// FIXME: This shouldn't be needed.
|
||||
fclose(stdout);
|
||||
fflush(stdout);
|
||||
return rc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue