summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework/module/ModuleController.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/framework/module/ModuleController.cxx')
-rwxr-xr-xsd/source/ui/framework/module/ModuleController.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/source/ui/framework/module/ModuleController.cxx b/sd/source/ui/framework/module/ModuleController.cxx
index e910a8df7496..27d18fec51c1 100755
--- a/sd/source/ui/framework/module/ModuleController.cxx
+++ b/sd/source/ui/framework/module/ModuleController.cxx
@@ -143,6 +143,10 @@ ModuleController::~ModuleController (void) throw()
void SAL_CALL ModuleController::disposing (void)
{
+ // Break the cyclic reference back to DrawController object
+ mpLoadedFactories.reset();
+ mpResourceToFactoryMap.reset();
+ mxController.clear();
}