From 2f31a4c1e8c2bbe9e3e4dba6e24ce4d206831e3b Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Tue, 25 Aug 2015 14:41:50 +0100 Subject: [PATCH] tdf#92213 - avoid potential crasher from unusual idle handler. Change-Id: Id5715f8753d17b3955ac87b9260318ac56e64a08 --- svx/source/dialog/graphctl.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx index d58550425be2..81a10966629d 100644 --- a/svx/source/dialog/graphctl.cxx +++ b/svx/source/dialog/graphctl.cxx @@ -90,14 +90,19 @@ GraphCtrl::~GraphCtrl() void GraphCtrl::dispose() { + aUpdateIdle.Stop(); + if( mpAccContext ) { mpAccContext->disposing(); mpAccContext->release(); } delete pView; + pView = NULL; delete pModel; + pModel = NULL; delete pUserCall; + pUserCall = NULL; Control::dispose(); }