summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/Connection.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/connectivity/source/drivers/firebird/Connection.cxx b/connectivity/source/drivers/firebird/Connection.cxx
index 69b2377b1af4..1ad4f445cca4 100644
--- a/connectivity/source/drivers/firebird/Connection.cxx
+++ b/connectivity/source/drivers/firebird/Connection.cxx
@@ -679,6 +679,9 @@ void SAL_CALL Connection::documentEventOccured( const DocumentEvent& _Event )
void SAL_CALL Connection::disposing(const EventObject& /*rSource*/)
throw (RuntimeException, std::exception)
{
+ MutexGuard aGuard( m_aMutex );
+
+ m_xEmbeddedStorage.clear();
}
void Connection::buildTypeInfo() throw( SQLException)