mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-16 11:42:12 +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;
|
||||
except
|
||||
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 + ')');
|
||||
end;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user