mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +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