Skip to content
Snippets Groups Projects
Commit 05f29012 authored by Robert Loehning's avatar Robert Loehning
Browse files

S60: Deleting allocated TrkLauncher in dtor of S60DeviceRunControlBase.

parent 1c528c48
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment