commit | d1c0cf80bceb352b6bf33064b352f6dbe2b0b39c | [log] [tgz] |
---|---|---|
author | Gilchrist Dadaglo <dadaglo@amazon.com> | Tue Dec 08 14:37:12 2020 +0000 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Dec 09 08:39:31 2020 +0100 |
tree | 4e9e09a995fffd889405f8bf3f8f40b2a9f7d6f5 | |
parent | 132d8f61e9440b9254069ca2c4bcff67df29bb6f [diff] |
BUG/MINOR: spoa/python: Cleanup ipaddress objects if initialization fails This change is to ensure objects from the ipaddress module are cleaned up when spoa module initialization fails. In general the interpreter would just crash, but in a code where import is conditional (try/except), then we would keep those objects around This patch must be backported as far as 2.0.