3 Jan
2012
3 Jan
'12
6:24 p.m.
sumanth krishna wrote:
#8 0x0000000120068b64 in C::~C (this=0x1200a8e70, __in_chrg=<value optimized out>)
Is it possible for a thread to still be calling c->getList when ~C is executed? Based on your (pseudo)code, a number of temporary std::list<shared_ptr<A>> instances are created and destroyed without a problem before C's member, so list destruction on its own seems to work fine.