You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2014/01/15 21:53:20 UTC

[jira] [Updated] (PROTON-487) [proton-c] Python binding leaks endpoint and delivery objects

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

Ken Giusti updated PROTON-487:
------------------------------

    Attachment: proton-487.patch

This patch removes the reference cycle so objects can be garbage-collected, but this forces the application to "hold on" to an instance of all the objects it has obtained.

Won't work, but I'm attaching it to the JIRA as a point of interest.

> [proton-c] Python binding leaks endpoint and delivery objects
> -------------------------------------------------------------
>
>                 Key: PROTON-487
>                 URL: https://issues.apache.org/jira/browse/PROTON-487
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: 0.6
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>         Attachments: proton-487.patch
>
>
> All of the endpoint objects (Connection, Session, Link, etc) and Delivery objects defined by the Python binding contain a circular reference.  This prevents the objects from every being garbage collected.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)