Le 27/03/2023 à 14:40, Luca Olivetti via lazarus a écrit :
The problem here is, if AProc raises an exception, I cannot free the thread causing a leak.
May be you can create a new exception class specifically for ExecWithSplash, instantiate it and put all the information of ut.FatalException in the new exception instance before raising it?
-- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus