You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2017/08/17 23:48:00 UTC

[jira] [Resolved] (PROTON-1175) Document BlockingConnection resource cleanup

     [ https://issues.apache.org/jira/browse/PROTON-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Ross resolved PROTON-1175.
---------------------------------
    Resolution: Fixed

> Document BlockingConnection resource cleanup
> --------------------------------------------
>
>                 Key: PROTON-1175
>                 URL: https://issues.apache.org/jira/browse/PROTON-1175
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: python-binding
>    Affects Versions: 0.12.0
>            Reporter: Cliff Jansen
>            Assignee: Justin Ross
>              Labels: docs
>             Fix For: proton-c-0.18.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org