We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d66fba8 commit e2323c0Copy full SHA for e2323c0
src/oracledb/impl/thin/pool.pyx
@@ -429,12 +429,13 @@ cdef class BaseThinPoolImpl(BasePoolImpl):
429
"""
430
cdef Protocol protocol = <Protocol> conn_impl._protocol
431
with self._condition:
432
- try:
433
- protocol._end_request(conn_impl)
434
- except:
435
- if not in_del:
436
- raise
437
- self._return_connection_helper(conn_impl)
+ if self._open:
+ try:
+ protocol._end_request(conn_impl)
+ except:
+ if not in_del:
+ raise
438
+ self._return_connection_helper(conn_impl)
439
440
def set_getmode(self, uint32_t value):
441
0 commit comments