File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
openapi-generator/src/main/resources/python Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 5
5
6
6
### Bugs
7
7
1 . [ #61 ] ( https://github.com/influxdata/influxdb-client-python/issues/61 ) : Correctly parse CSV where multiple results include multiple tables
8
+ 1 . [ #66 ] ( https://github.com/influxdata/influxdb-client-python/issues/66 ) : Correctly close connection pool manager at exit
8
9
9
10
## 1.4.0 [ 2020-02-14]
10
11
Original file line number Diff line number Diff line change @@ -82,6 +82,8 @@ def __del__(self):
82
82
self ._pool .close ()
83
83
self ._pool .join ()
84
84
self ._pool = None
85
+ if self .rest_client and self .rest_client .pool_manager and hasattr (self .rest_client .pool_manager , 'clear' ):
86
+ self .rest_client .pool_manager .clear ()
85
87
86
88
@property
87
89
def pool (self ):
Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ class ApiClient(object):
77
77
self._pool.close()
78
78
self._pool.join()
79
79
self._pool = None
80
+ if self.rest_client and self.rest_client.pool_manager and hasattr(self.rest_client.pool_manager, 'clear'):
81
+ self.rest_client.pool_manager.clear()
80
82
81
83
@property
82
84
def pool(self):
You can’t perform that action at this time.
0 commit comments