Issue #57: Prevent more SynEdit paint exceptions if connection was killed outside.

This commit is contained in:
Ansgar Becker
2019-01-19 17:19:04 +01:00
parent b3c676d752
commit 09ea93639c

View File

@ -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;