in reply to Re: Crahes due to threads.
in thread Crahes due to threads.

Good tip, I will change the print to STDERR