try to fix some shutdown crashes
seen in 7.4 crash reports Change-Id: I4c88d485e2e1925895f23861232823ebe97c0c8a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141936 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
7d63176bcf
commit
b4b63d0c46
1 changed files with 5 additions and 1 deletions
|
@ -128,7 +128,11 @@ public:
|
|||
std::scoped_lock aGuard(gMutex);
|
||||
gPropertyCache.clear();
|
||||
}
|
||||
virtual void SAL_CALL disposing(const css::lang::EventObject&) override {}
|
||||
virtual void SAL_CALL disposing(const css::lang::EventObject&) override
|
||||
{
|
||||
std::scoped_lock aGuard(gMutex);
|
||||
gPropertyCache.clear();
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
|
Loading…
Reference in a new issue