axw/pushy — Issue #16: Proxies are strongly referenced and never deleted; __del__ isn't transmitted to delete proxied object
Author: axw
Created: 2012-02-07 15:00:39+00:00
State: open
Labels: Fix Committed, High

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.