That's exactly what I forgot.
Thanks,
Phil.
----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 25, 2004 9:40 AM
Subject: RE: [DUG] Threads


> Do you call "Waitfor" after thread terminate? maybe your object is freeing
> before the thread has finished terminating.
>
> > -----Original Message-----
> > From: Phil Middlemiss [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, 25 August 2004 8:46 a.m.
> > To: NZ Borland Developers Group - Delphi List
> > Subject: [DUG] Threads
> >
> >
> > Hi all,
> >
> > I have a thread object that, for some reason, the destructor
> > is being called
> > twice. I've stripped the app down to a fairly simple shell
> > around the thread
> > and all I am doing is creating the object that holds onto the
> > thread, and
> > then freeing it. The containing object creates the thread in it's
> > consctructor and frees it in its destructor. Any one know
> > what is causing
> > this?
> >
> > Cheers,
> > Phil.
> >
> > _______________________________________________
> > Delphi mailing list
> > [EMAIL PROTECTED]
> > http://ns3.123.co.nz/mailman/listinfo/delphi
> >
> _______________________________________________
> Delphi mailing list
> [EMAIL PROTECTED]
> http://ns3.123.co.nz/mailman/listinfo/delphi
>

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to