mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-16 20:11:48 +08:00
Fix bug #1865305 "error popups with server down and process list reloads"
This commit is contained in:
@ -5322,6 +5322,9 @@ begin
|
|||||||
CheckConnection;
|
CheckConnection;
|
||||||
except
|
except
|
||||||
on E: Exception do begin
|
on E: Exception do begin
|
||||||
|
// Ensure auto-updating processlist is disabled, see bug #1865305
|
||||||
|
DisableAutoRefreshClick(self);
|
||||||
|
Screen.Cursor := crDefault;
|
||||||
raise Exception.Create('Failed to reconnect, giving up. (' + E.Message + ')');
|
raise Exception.Create('Failed to reconnect, giving up. (' + E.Message + ')');
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user