office-gobmx/basctl/source
Caolán McNamara eb227657d9 cid#1608414 Double lock
since:

commit f3e127217d
CommitDate: Wed May 10 13:28:09 2023 +0200

    use comphelper::WeakComponentImplHelper in DocumentEventNotifier::Impl

problem:

108        std::unique_lock aGuard(m_aMutex);
109        if ( !impl_isDisposed_nothrow(aGuard) )
110        {
111            acquire();
CID 1608414: (#1 of 1): Double lock (LOCK)
4. double_lock: dispose locks this->m_aMutex while it is locked.[show details]
112            dispose();
    /include/comphelper/compbase.hxx
    73    virtual void SAL_CALL dispose() noexcept final override
    74    {
    1. lock: dispose locks this->m_aMutex.[show details]
    75        WeakComponentImplHelperBase::dispose();
        /comphelper/source/misc/compbase.cxx
        20    void SAL_CALL WeakComponentImplHelperBase::dispose()
        21    {
        1.        lock: unique_lock locks this->m_aMutex.
        22        std::unique_lock aGuard(m_aMutex);

Change-Id: Ibd9dc0564adf86c6409794f584a743aecd9d36e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173970
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-26 13:39:32 +02:00
..
accessibility use less dynamic_cast when broadcasting SfxHint 2024-09-05 08:10:26 +02:00
basicide cid#1608414 Double lock 2024-09-26 13:39:32 +02:00
dlged
inc use more concrete UNO in basic 2024-09-18 15:02:58 +02:00