problems with static WeakReference when comphelper is in libmerged

Caolán McNamara caolanm at
Mon Nov 23 12:33:18 PST 2015

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 ?


More information about the LibreOffice mailing list