mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Issue #57: Prevent more SynEdit paint exceptions if connection was killed outside.
This commit is contained in:
@ -2682,6 +2682,7 @@ begin
|
||||
|
||||
// Start the execution thread
|
||||
Screen.Cursor := crAppStart;
|
||||
ActiveConnection.Ping(True); // Prevents SynEdit paint exceptions if connection was killed outside
|
||||
Tab.QueryRunning := True;
|
||||
Tab.ExecutionThread := TQueryThread.Create(ActiveConnection, Batch, Tab.Number);
|
||||
end;
|
||||
|
Reference in New Issue
Block a user