forked from qt-creator/qt-creator
S60: Deleting allocated TrkLauncher in dtor of S60DeviceRunControlBase.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -129,7 +129,7 @@ class S60DeviceRunControlBase : public ProjectExplorer::RunControl
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit S60DeviceRunControlBase(const QSharedPointer<ProjectExplorer::RunConfiguration> &runConfiguration);
|
||||
~S60DeviceRunControlBase() {}
|
||||
~S60DeviceRunControlBase();
|
||||
virtual void start();
|
||||
virtual void stop();
|
||||
virtual bool isRunning() const;
|
||||
|
||||
Reference in New Issue
Block a user