Proxies are strongly referenced and never deleted; __del__ isn't transmitted to delete proxied object

Bug #734311 reported by Andrew Wilkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pushy
Fix Released
High
Andrew Wilkins

Bug Description

The BaseConnection class uses a standard dict to store proxies, and so they are never garbage collected unless the BaseConnection object is deleted. Also, the __del__ method is not being invoked on the original object, even if the proxy were garbage collected.

This would not typically stop correct operation, but will cause growth in memory which will not be properly reclaimed until the connection is closed.

Related branches

Andrew Wilkins (axwalk)
Changed in pushy:
status: Confirmed → In Progress
Andrew Wilkins (axwalk)
Changed in pushy:
status: In Progress → Fix Committed
Andrew Wilkins (axwalk)
Changed in pushy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.