Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[patch]TextLayout does not remove document handlers on delete() #758

Open
GoogleCodeExporter opened this issue Apr 6, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Have you tried Pyglet 1.2 alpha1 or the repository code?
Repo code @ Wed Jul 16

What steps will reproduce the problem?
See attached python file. 
A document that is added to a TextLayout will add some event handlers, but 
since TextLayout doesnt remove the handlers when the object is deleted. There 
will still be a ref to the document stopping python to collecting it and it 
result in the document still being rendered to the screen.
A patch to fix this issue is also attached. 

Any additional info (platform/language/hardware) that may be relevant?
Debian Jessie, amd64, python3.4

Original issue reported on code.google.com by norberg....@gmail.com on 14 Aug 2014 at 4:26

Attachments:

@GoogleCodeExporter
Copy link
Author

Original comment by useboxnet on 17 Aug 2014 at 12:00

  • Changed state: Accepted
  • Added labels: OpSys-All, Type-Patch

@GoogleCodeExporter
Copy link
Author

Is there any plan to include this patch in the repo soon?

Original comment by norberg....@gmail.com on 5 Oct 2014 at 6:55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant