Hi, Is that correct behavior? When calling Halt() somewhere inside a try..finally block, it _doesn't_ execute the finally code.
In fpGUI I used Halt() to terminate the event loop and exit a application. I then noticed that NO cleanup code gets executed after that call. Not objects get freed via destructors etc... Since I noticed this, I implemented a more graceful termination process, but Halt() is really harsh! :-) Regards, - Graeme - _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal