tdf#92213 - avoid potential crasher from unusual idle handler.

Change-Id: Id5715f8753d17b3955ac87b9260318ac56e64a08
This commit is contained in:
Michael Meeks
2015-08-25 14:41:50 +01:00
parent 14323c7493
commit 2f31a4c1e8

View File

@@ -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();
}