File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ Thin Mode Changes
28
28
#) Added support for the ``FAILOVER `` clause in full connect descriptors.
29
29
#) A more meaningful error is raised when the wrong type of data is passed to
30
30
:meth: `LOB.write() `.
31
+ #) Internal change to ensure that all connections in a pool have been closed
32
+ gracefully before the pool is closed.
31
33
#) Internal changes to improve handling of the network protocol between
32
34
python-oracledb and Oracle Database.
33
35
#) Internal changes to improve handling of multiple address and description
Original file line number Diff line number Diff line change @@ -143,8 +143,8 @@ cdef class ThinPoolImpl(BasePoolImpl):
143
143
wait = False
144
144
self ._drop_conn_impls_helper(conn_impls_to_drop)
145
145
146
- # if pool has closed, stop thread!
147
- if not self ._open:
146
+ # if pool has closed and no connections to drop , stop thread!
147
+ if not self ._open and not self ._conn_impls_to_drop :
148
148
break
149
149
150
150
# otherwise, if nothing needed to be done, wait for notification
You can’t perform that action at this time.
0 commit comments