|Subject||RE: [IBO] "Session is undefined" error when destroying a session|
|Author||IBO Support List|
What version of the IBO sources are you working with?
In the past release, or perhaps just prior, I addressed issues in this area and I'd like to know if you are before or after that.
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf Of masonwheeler@...
Sent: Sunday, November 10, 2013 9:48 AM
Subject: [IBO] "Session is undefined" error when destroying a session
I created a connection using TIB_Connection.CreateForSession, and I've been using its DefaultTransaction property. I've verified that this gets set up with the proper IB_Session property.
When I free the session, it calls CleanupSessionChildren, which sets the IB_Session property to nil on various components, including the transaction. Then it calls inherited Destroy, which leads to the following stack trace, ending in an error when the transaction's session is found to be set to nil:
:76bec41f KERNELBASE.RaiseException + 0x58