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

QWebSocket uses disconnect with wildcards and triggers warnings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.8.4, 6.9.1
    • WebSockets
    • None

      Starting with Qt 6.8.4 and Qt 6.9.1, due to https://codereview.qt-project.org/c/qt/qtbase/+/633924 I have been getting

      QObject::disconnect: wildcard call disconnects from destroyed signal of QTcpSocket::unnamed

      Because of those lines https://codebrowser.dev/qt5/qtwebsockets/src/websockets/qwebsocket_p.cpp.html#_ZN17QWebSocketPrivate18releaseConnectionsEPK10QTcpSocket

      Upon every WebSocket open/close

      It can be easily reproduced with the QML WebSocketClient example

      These warnings are quite annoying when having multiple WebSockets in an application as the warning will pop on every close or destruction

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

            tpochep Timur Pocheptsov
            romain.donze Romain Donzé
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes