On 23 November 2015 at 21:33, Caolán McNamara <[email protected]> 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!
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to