There was an error while loading. Please reload this page.
2 parents 6879d41 + 73ab1f1 commit b926ac4Copy full SHA for b926ac4
pymysqlreplication/binlogstream.py
@@ -85,6 +85,9 @@ def close(self):
85
self._stream_connection.close()
86
self.__connected_stream = False
87
if self.__connected_ctl:
88
+ # break reference cycle between stream reader and underlying
89
+ # mysql connection object
90
+ self._ctl_connection._get_table_information = None
91
self._ctl_connection.close()
92
self.__connected_ctl = False
93
0 commit comments