mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05: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
Reference in a new issue