mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +00:00
Userland: Always construct Application with try_create()
This commit is contained in:
parent
cd7037afd5
commit
73552c1856
22 changed files with 22 additions and 22 deletions
|
@ -14,7 +14,7 @@ ErrorOr<int> serenity_main(Main::Arguments)
|
|||
{
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath cpath wpath unix thread"));
|
||||
|
||||
auto app = GUI::Application::construct(0, nullptr);
|
||||
auto app = TRY(GUI::Application::try_create(0, nullptr));
|
||||
app->set_quit_when_last_window_deleted(false);
|
||||
|
||||
auto client = TRY(IPC::take_over_accepted_client_from_system_server<FileSystemAccessServer::ConnectionFromClient>());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue