You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2015/10/21 21:26:27 UTC
[jira] [Created] (PROTON-1030) Reactor never freed if
handler/global_handler set
Gordon Sim created PROTON-1030:
----------------------------------
Summary: Reactor never freed if handler/global_handler set
Key: PROTON-1030
URL: https://issues.apache.org/jira/browse/PROTON-1030
Project: Qpid Proton
Issue Type: Bug
Components: python-binding
Affects Versions: 0.10
Reporter: Gordon Sim
Fix For: 0.11
E.g.
{noformat}
from proton.reactor import Container, Reactor
class Print(object):
def on_unhandled(self, name, event):
print("%s %s" % (name, event))
while True:
container = Reactor()
container.handler = Print()
container.start()
container.stop()
{noformat}
Will grow in memory and eventually crash. On debugging the reactor is never finalised.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)