callme icon indicating copy to clipboard operation
callme copied to clipboard

Proxy object does not exit cleanly.

Open robputt opened this issue 8 years ago • 1 comments

When used in some circumstance the proxy object does not clean itself up in a sensible manor, for example if you create a proxy global object in Flask or Django, use it for the duration of the request and then kill it during request tear down the response queue remains indefinitely until the application is recycled.

Proposed fix: Add a destructor to the proxy class to clean up proxy objects in a suitable fashion.

robputt avatar May 04 '16 10:05 robputt

Hi @ceelian,

Hopefully this makes sense. Let me know if it requires any refactor.

Best Regards,

robputt796

robputt avatar May 04 '16 11:05 robputt