Arno Garrels wrote:
> Arno Garrels wrote:
>> Hallo,
>>
>> When I caught an exception in methode Execute and re-raise it
>> in a synchronised TThreadMethode, the RTL tries to free the
>> Exception-Objekt twice. 
> 
> Ok, finally there is one free-attempt too much. I was confused
> due to the fact that calling raise E in the synchronized
> handler did work and the error was thrown later. So I will wrap
> the call of the exception handler in a try-except block and eat
> any possible exception there.

No, don't do that. You're just covering up the error. You're not solving 
the problem. I told you how to solve it. I also told you that the RTL 
might already do everything for you, including passing the exception to 
the main thread.

-- 
Rob
_______________________________________________
Delphi mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to