Skip to content

x64: Application exit abnormally when exception raised in event #287

@ccy

Description

@ccy

Try run this script in Win64 build that raise exception in event handler:

procedure OnChange(Sender: TObject);
begin
   Abort;
end;

function Execute: string;
var s: TStringList;
begin
  s := TStringList.Create;
  try
    s.OnChange := @OnChange;
    s.Add('test');
  finally
    s.Free;
  end;
end;

The above code works in Win32 build that raise proper EAbort exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions