diff options
-rw-r--r-- | Userland/DevTools/HackStudio/Editor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/Editor.cpp b/Userland/DevTools/HackStudio/Editor.cpp index f0472977e3..724f3c3554 100644 --- a/Userland/DevTools/HackStudio/Editor.cpp +++ b/Userland/DevTools/HackStudio/Editor.cpp @@ -689,7 +689,8 @@ void Editor::keydown_event(GUI::KeyEvent& event) void Editor::handle_function_parameters_hint_request() { - VERIFY(m_language_client); + if (!m_language_client) + return; m_language_client->on_function_parameters_hint_result = [this](Vector<String> const& params, size_t argument_index) { dbgln("on_function_parameters_hint_result"); |