Re: [Boost-bugs] [Boost C++ Libraries] #6654: deadline_timer may makes dll can't be freed

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6654: deadline_timer may makes dll can't be freed
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-22 08:00:26


#6654: deadline_timer may makes dll can't be freed
--------------------------------+-------------------------------------------
  Reporter: weiyuemin@… | Owner: chris_kohlhoff
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords: deadline_timer block
--------------------------------+-------------------------------------------

Comment (by weiyuemin@…):

 declare client_ioservice as boost::asio::io_service*, and manually release
 the io_service* would avoid this problem.

 if I declare io_service as a global variable in dll, or wrap it with
 shared_ptr, then it(the io_service) can't be properly released.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6654#comment:2>
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:09 UTC