[C++-sig] application exit and shared_ptr
David Abrahams
dave at boostpro.com
Wed Jul 30 20:33:01 CEST 2008
on Tue Jul 29 2008, "Philip Winston" <pwinston-AT-gmail.com> wrote:
> I understand it is not possible to call Py_Finalize with Boost.Python.
> But is it possible to manually delete all variables from an embedded
> interactive interpreter? Would this be a way to to cause Python to
> release any shared_ptrs it is holding on to?
That's essentially the same problem, because any Python object could be
holding a shared_ptr (indirectly).
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
More information about the Cplusplus-sig
mailing list