Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-124461

qmlls does not exit after receiving an exit request

    XMLWordPrintable

Details

    • 9aa5abbda (dev), bd4c78927 (6.8), adde3459d (6.7)

    Description

      It seems that qmlls does not shutdown after receiving a shutdown request... That's probably the reason why it can't be restarted via the QtC restart language server button.

      To reproduce, use following test (that currently fails: qmlls is still running after the 5 second timeout):

      void tst_qmlls_modules::shutdown()
      {
          m_protocol->requestShutdown(nullptr, []() {});
          m_protocol->notifyExit(nullptr);

          QTRY_COMPARE_WITH_TIMEOUT(m_server.state(), QProcess::NotRunning, 5000);
          QCOMPARE(m_server.exitStatus(), QProcess::NormalExit);
      }

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              sami.shalayel Sami Shalayel
              sami.shalayel Sami Shalayel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes