Am 23.06.2019 um 16:33 schrieb Jonas Maebe:
On 23/06/2019 09:08, Dennis wrote:
Using fpc 3.0.4, Lazarus 2.0, the following simple program
program tryfinally;
begin
try
Writeln('before finally');
finally
Writeln('inside finally. Before Exit');
exit; //<----why isn't it executed?
end;
Writeln('after try finally block');
end.
I seem to remember this was a bug in the Win64 SEH support that was
fixed later on, but I can't find the bug report.
It's still the case on current trunk at least on Win64.
Regards,
Sven
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal