--- Nick Liebmann <[EMAIL PROTECTED]> wrote: > > Ok, your problem is that the TCPSession::final calls delete this when > the thread ends. > > Your choices are > > 1) Dont call tcp->detach(), call start()... the thread will be deleted > automaticall by TCPSession::final > 2) override virtual void final() in TCPSessionThread, to do nothing. > > For the library, TCPSession::final should say if(!isDetached()) delete > this;
Thanks Nick! I'll check this out on monday. -- Rami Saarinen __________________________________ Do you Yahoo!? All your favorites on one personal page – Try My Yahoo! http://my.yahoo.com _______________________________________________ Bug-commoncpp mailing list Bug-commoncpp@gnu.org http://lists.gnu.org/mailman/listinfo/bug-commoncpp