Boost logo

Boost Users :

Subject: Re: [Boost-users] [signals2] scoped_connection strangeness
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2010-06-25 10:35:30


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 25 June 2010, Igor R wrote:
> > Disconnect only flags the slot as disconnected, it doesn't immediately
> > destroy the slot object.  Slots are cleaned up incrementally during
> > signal invocations and connects.  I suppose I should add a FAQ entry
> > about this.
>
> By the way, what's the best technique to force this clean-up?

There isn't a way right now. It would require adding a method to signals to
do a cleanup, plus a method to wait for any concurrent invocations to
complete.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkwkvrMACgkQ5vihyNWuA4VgsgCfX2ubAXb1apK36M0u/XY2Dvr+
wesAn2XidcGN70yqzw82EW2F+upM4Zfm
=T9Hs
-----END PGP SIGNATURE-----


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net