Re: [Boost-bugs] [Boost C++ Libraries] #12220: Memory leak in future::then()

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12220: Memory leak in future::then()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-09-06 16:49:13


#12220: Memory leak in future::then()
-------------------------------+-------------------------------------
  Reporter: valentin.milea@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: Boost 1.62.0 | Component: thread
   Version: Boost 1.61.0 | Severity: Regression
Resolution: | Keywords: memory leak future then
-------------------------------+-------------------------------------

Comment (by viboes):

 Thanks for testing.

 BOOST_THREAD_FUTURE_BLOCKING used the thread to join it.
 BOOST_THREAD_ASYNC_FUTURE_WAITS uses the future itself to wait.
 This avoid the shared_ptr cycle.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12220#comment:14>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC