Richard Heck wrote:
I.e., do this. But it may be that there are other ways you could see this problem. What about making the loader a shared_ptr rather than deleting it explicitly?
It think that the real problem is that the C&P stack is not cleaned up on exit.
Abdel.