Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1175

Document BlockingConnection resource cleanup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.12.0
    • proton-c-0.18.0
    • python-binding

    Description

      The documentation is silent on resource cleanup for BlockingConnections. Currently if the BlockingConnection is not closed, the file descriptors and other reactor machinery are leaked.

      Standard Python techniques should be used to ensure resource clean up (try..finally blocks etc.)

      Only the sync_client example hints this might be desirable, let alone necessary.

      Attachments

        Activity

          People

            jross Justin Ross
            cliffjansen Clifford Jansen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: