diff --git a/Userland/Libraries/LibConfig/Client.cpp b/Userland/Libraries/LibConfig/Client.cpp index 2fce3af8dc..265c4b2e0a 100644 --- a/Userland/Libraries/LibConfig/Client.cpp +++ b/Userland/Libraries/LibConfig/Client.cpp @@ -12,8 +12,10 @@ static RefPtr s_the = nullptr; Client& Client::the() { - if (!s_the || !s_the->is_open()) + if (!s_the || !s_the->is_open()) { + VERIFY(Core::EventLoop::has_been_instantiated()); s_the = Client::construct(); + } return *s_the; }