Boost logo

Boost Users :

Subject: Re: [Boost-users] message_queue memory leak in Boost::test
From: Bjorn Reese (breese_at_[hidden])
Date: 2013-04-04 05:37:47


On 2013-04-04 00:14, John Davies wrote:

> Is this something I have to live with? In my real code the message_queue is
> alive the whole time the program is running.

Try the following (quoted from the documentation)

"The message queue is explicitly removed calling the static remove function:

   using boost::interprocess;
   message_queue::remove("message_queue");
"


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