diff --git a/src/source_language_protocol.cpp b/src/source_language_protocol.cpp index b124542..6a61db5 100644 --- a/src/source_language_protocol.cpp +++ b/src/source_language_protocol.cpp @@ -628,10 +628,6 @@ void LanguageProtocol::Client::handle_server_request(const boost::variantpost([this] { LockGuard lock(views_mutex); for(auto &view : views) { - while(!view->initialized) { - while(Gtk::Main::events_pending()) - Gtk::Main::iteration(); - } view->write_notification("textDocument/didClose"); view->write_did_open_notification(); }