diff options
-rw-r--r-- | framework/source/services/desktop.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx index 01d24fa5ba60..d11fad797cdc 100644 --- a/framework/source/services/desktop.cxx +++ b/framework/source/services/desktop.cxx @@ -313,13 +313,13 @@ sal_Bool SAL_CALL Desktop::terminate() impl_sendCancelTerminationEvent(lCalledTerminationListener); else { - // "Protect" us against dispose before terminate calls! - // see dispose() for further information. - /* SAFE AREA --------------------------------------------------------------------------------------- */ - SolarMutexClearableGuard aWriteLock; - m_bIsTerminated = true; - aWriteLock.clear(); - /* UNSAFE AREA ------------------------------------------------------------------------------------- */ + // "Protect" us against dispose before terminate calls! + // see dispose() for further information. + /* SAFE AREA --------------------------------------------------------------------------------------- */ + SolarMutexClearableGuard aWriteLock; + m_bIsTerminated = true; + aWriteLock.clear(); + /* UNSAFE AREA ------------------------------------------------------------------------------------- */ impl_sendNotifyTerminationEvent(); |