Re: [cx-oracle-users] cx_oracle does not close TCP/IP connections on close(); relies on Python garba
Brought to you by:
atuining
From: Tyler H. <tyl...@gm...> - 2012-10-24 15:15:10
|
Michael Bayer <mike_mp@...> writes: > >> 2011/5/14 Michael Bayer <mike_mp@...>: > >>> I'm assuming this is intentional behavior, as illustrated by the script below. > >>> Wondering what the rationale is for delaying the close of a connection until the object is garbage collected > >> > >> It's true that the .close() method only calls OCISessionEnd(). > >> OCIServerDetach() is only called by the destructor. > > > > I have just checked in changes to do exactly this. It calls > > OCIServerDetach() on close. Let me know if this resolves the problem > > for you. Thanks. > > I had already worked around the issue on our end, but the new changes work great, thanks ! What was the work around that you were using to get around this issue? |