pushyrpc / pushy

Easy-as RPC. Zero-server RPC for Python and Java.
http://github.com/pushyrpc/pushy
45 stars 18 forks source link

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

Closed axw closed 12 years ago

axw commented 12 years ago

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.


Imported from Launchpad using lp2gh.