Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


On 23 November 2015 at 21:33, Caolán McNamara <caolanm@redhat.com> wrote:
On Mon, 2015-11-23 at 20:52 +0100, Matúš Kukan wrote:
Hi there,

I was looking again at adding comphelper to libmerged and found that
only problem visible in tests is caused by static
WeakReference<XFrame2> m_xCloserFrame from
framework/source/services/frame.cxx
I am getting crashes at exit like below:

As a bodge, does it make a difference to turn it from a global to a
local static inside Frame::impl_checkMenuCloser ?

:) Hmm, yes, it helps.
So probably best to make it local - almost all other static
WeakReferences are local to a function too - and be done with it.
Thanks!

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.