Reference cycle between RequestHandler and "closured" render function #383

wants to merge 1 commit into from

1 participant


Same here. I used weakref to resolve it.

@bdarnell bdarnell added a commit that closed this pull request Apr 14, 2013
@bdarnell bdarnell Break up a reference cycle with RequestHandler.ui when handler exits …

This is not strictly necessary, but allows for CPython's refcounting
GC to reclaim the handler sooner than waiting for a full GC.

Closes #383.
@bdarnell bdarnell closed this in 2744f37 Apr 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment