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

Document BlockingConnection resource cleanup

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: proton-0.12.0
    • Fix Version/s: proton-c-0.18.0
    • Component/s: python-binding
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: