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-08-09 00:16:45


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

Comment (by viboes):

 Why do you say that" The thread holds a reference to the shared state in
 its thread_info member (note the static_shared_from_this(this)
 parameter)."? static_shared_from_this(this) is used as parameter of the
 run function and the parameter is released when the function ends, isn't
 it?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12220#comment:4>
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