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

qmlls does not exit after receiving an exit request

XMLWordPrintable

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

      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);
      }

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes