Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-0.12.0
Description
The documentation is silent on resource cleanup for BlockingConnections. Currently if the BlockingConnection is not closed, the file descriptors and other reactor machinery are leaked.
Standard Python techniques should be used to ensure resource clean up (try..finally blocks etc.)
Only the sync_client example hints this might be desirable, let alone necessary.