1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +00:00

Userland: Always construct Application with try_create()

This commit is contained in:
Sam Atkins 2022-04-16 17:17:39 +01:00 committed by Andreas Kling
parent cd7037afd5
commit 73552c1856
22 changed files with 22 additions and 22 deletions

View file

@ -356,7 +356,7 @@ bool GLContextWidget::load_file(Core::File& file)
ErrorOr<int> serenity_main(Main::Arguments arguments)
{
auto app = GUI::Application::construct(arguments);
auto app = TRY(GUI::Application::try_create(arguments));
TRY(Core::System::pledge("stdio thread recvfd sendfd rpath unix prot_exec"));