zeoslib icon indicating copy to clipboard operation
zeoslib copied to clipboard

Access violation when exception in unprepare

Open NickNevzorov opened this issue 5 days ago • 0 comments

Using odbc, in some cases in unprepare (resultset.close) raised exception

in this code:

query.free;
connection.free;

if exception raised in query.free, query is destroyed, but link with connection is not removed. Then in connection.free called LinkedComponents.setconnection(nil) on object, that already destroyed

NickNevzorov avatar Feb 26 '25 15:02 NickNevzorov