|
Boost : |
Subject: Re: [boost] [locale] Memory leaks?
From: Artyom Beilis (artyomtnk_at_[hidden])
Date: 2013-03-07 15:27:58
No because if you cleanup something in ICU and than some
global object that uses ICU is being destroyed after
you'll get in trouble.
There is no guarantee on order of destruction of global objects
Artyom Beilis
--------------
CppCMS - C++ Web Framework: http://cppcms.com/
CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/
----- Original Message -----
> From: Jookia <166291_at_[hidden]>
> To: boost_at_[hidden]
> Cc:
> Sent: Thursday, March 7, 2013 4:22 PM
> Subject: Re: [boost] [locale] Memory leaks?
>
> I see. Wouldn't it be best to clean up ICU when done being used however?
> I have submitted a patch to trac to do this.
>
> On 08/03/13 00:02, Artyom Beilis wrote:
>> You had mistaken "reachable" code with memory leaks...
>>
>> Especially if some std::locale::global remains etc.
>>
>> It is not a bug nor even a problem.
>>
>> Artyom Beilis
>> --------------
>> CppCMS - C++ Web Framework: http://cppcms.com/
>> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk