mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Do not trigger OnDBObjectsCleared in TMySQLConnection.Destroy, to avoid loop backs to connection instance which triggers AVs. Fixes issue #1878.
This commit is contained in:
@ -294,6 +294,7 @@ end;
|
||||
destructor TMySQLConnection.Destroy;
|
||||
begin
|
||||
if Active then Active := False;
|
||||
FOnDBObjectsCleared := nil;
|
||||
ClearCache;
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user