23 Sep
2010
23 Sep
'10
1:52 p.m.
On 2010-09-23 15:28, Daniele Barzotti wrote:
Ops..you're right!!
I change my code with the following and now all seems to work as expected!
That's odd. You are using a static shared pointer, so I would expect the reference count of pwork to be #objects + 1, not #objects. Regards, Rutger