mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 10:02:10 +08:00
Issue #1243: fix crash in reconnect, due to free'd list of IS objects
This commit is contained in:
@ -1842,6 +1842,7 @@ begin
|
|||||||
ClearCache(True);
|
ClearCache(True);
|
||||||
FKeepAliveTimer.Free;
|
FKeepAliveTimer.Free;
|
||||||
FFavorites.Free;
|
FFavorites.Free;
|
||||||
|
FInformationSchemaObjects.Free;
|
||||||
inherited;
|
inherited;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -5816,7 +5817,6 @@ begin
|
|||||||
FreeAndNil(FCharsetTable);
|
FreeAndNil(FCharsetTable);
|
||||||
FreeAndNil(FSessionVariables);
|
FreeAndNil(FSessionVariables);
|
||||||
FreeAndNil(FTableEngines);
|
FreeAndNil(FTableEngines);
|
||||||
FreeAndNil(FInformationSchemaObjects);
|
|
||||||
if IncludeDBObjects then begin
|
if IncludeDBObjects then begin
|
||||||
ClearAllDbObjects;
|
ClearAllDbObjects;
|
||||||
FColumnCache.Clear;
|
FColumnCache.Clear;
|
||||||
|
Reference in New Issue
Block a user