mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:07:45 +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
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…
Add table
Add a link
Reference in a new issue