12 Feb
2010
12 Feb
'10
2:42 p.m.
Lloyd wrote:
class Connect:public boost::enable_shared_from_this<Connect> { .... }
All the async calls use sharedptr() And the object is created like this...
boost::shared_ptr<Connect> Conn=boost::shared_ptr<Connect>(new Connect(IoService));
The bug is most probably elsewhere in your code. Could you post more? Regards, Rutger