zeoslib
zeoslib copied to clipboard
Access violation when exception in unprepare
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