S60: Deleting allocated TrkLauncher in dtor of S60DeviceRunControlBase.

This commit is contained in:
Robert Loehning
2009-10-23 18:40:46 +02:00
parent 1c528c48cc
commit 05f29012d9
2 changed files with 9 additions and 1 deletions

View File

@@ -435,6 +435,14 @@ S60DeviceRunControlBase::S60DeviceRunControlBase(const QSharedPointer<RunConfigu
m_packageFile = QFileInfo(m_packageFilePath).fileName();
}
S60DeviceRunControlBase::~S60DeviceRunControlBase()
{
if (m_launcher) {
m_launcher->deleteLater();
m_launcher = 0;
}
}
void S60DeviceRunControlBase::start()
{
emit started();