Re: [cx-oracle-users] cx_oracle does not close TCP/IP connections on close(); relies on Python garb
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2011-05-17 17:08:58
|
On Tue, May 17, 2011 at 9:18 AM, Michael Bayer <mi...@zz...> wrote: > > On May 14, 2011, at 7:12 PM, Anthony Tuininga wrote: > >> On Sat, May 14, 2011 at 10:46 AM, Amaury Forgeot d'Arc >> <ama...@gm...> wrote: >>> Hi, >>> >>> 2011/5/14 Michael Bayer <mi...@zz...>: >>>> 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 ! You're welcome. And thanks for following up. These changes will be included in the next release -- not sure when that will be yet, though. I have a few other things I'd like to take care of first. Anthony |