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

wasm: QWebSocket does not disconnect if deleted

    XMLWordPrintable

Details

    • WebAssembly
    • b14a7efd6 (dev), a2480aa46 (6.5)

    Description

      It seems QWebSocket is not disconnected and is left open in the background if QWebSocket is deleted. Looks like close() might not close it either, but only triggers the signals.

      To reproduce:

      • run attached example
      • click Open socket
      • wait until connected (message in console)
      • click Close socket

      The underlying websocket still seems to be connected to the server.

      Attachments

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

        Activity

          People

            lpotter Lorn Potter
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes