summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comphelper/source/misc/configuration.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/comphelper/source/misc/configuration.cxx b/comphelper/source/misc/configuration.cxx
index 097eabb6a345..1d6517fbb26d 100644
--- a/comphelper/source/misc/configuration.cxx
+++ b/comphelper/source/misc/configuration.cxx
@@ -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