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. Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal