module_utils: to add a destructor, in order to explicitly close the connection when the Connection object is GC'd (#44)

* Monkey patch the Connection class

* Add changelog fragment
This commit is contained in:
Jorge Rodriguez (A.K.A. Tiriel) 2020-10-08 08:24:32 +03:00 committed by GitHub
commit 9a377f6d91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- mysql modules - patch the ``Connection`` class to add a destructor that ensures connections to the server are explicitly closed (https://github.com/ansible-collections/community.mysql/pull/44).