fix: crash on macOS, due to running Connection.ShowWarnings directly in the TQueryThread

Refs #2425
This commit is contained in:
Ansgar Becker
2026-03-09 16:06:30 +01:00
parent 8d480994e5
commit d62807a2ce
2 changed files with 1 additions and 1 deletions

View File

@@ -3144,7 +3144,6 @@ begin
end;
FConnection.SetLockedByThread(nil);
Synchronize(AfterQuery);
FConnection.ShowWarnings;
// Check if FAborted is set by the main thread, to avoid proceeding the loop in case
// FStopOnErrors is set to false
if FAborted or ErrorAborted then

View File

@@ -3332,6 +3332,7 @@ begin
Tab.tabsetQuery.OnChange(Tab.tabsetQuery);
end;
end;
Thread.Connection.ShowWarnings;
ShowStatusMsg;
end;