forked from qt-creator/qt-creator
QmlProfiler: fix potential crash
Change-Id: I4d8c2ae3e14905fb997fc7a7537b8a979946aa7f Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
committed by
Kai Koehne
parent
a7f03f3b5b
commit
f86e2a4f72
@@ -41,6 +41,11 @@ LocalQmlProfilerRunner::LocalQmlProfilerRunner(const Configuration &configuratio
|
||||
this, SIGNAL(appendMessage(QString,Utils::OutputFormat)));
|
||||
}
|
||||
|
||||
LocalQmlProfilerRunner::~LocalQmlProfilerRunner()
|
||||
{
|
||||
disconnect(&m_launcher, SIGNAL(processExited(int)), this, SLOT(spontaneousStop(int)));
|
||||
}
|
||||
|
||||
void LocalQmlProfilerRunner::start()
|
||||
{
|
||||
QString arguments = QString::fromLatin1("-qmljsdebugger=port:%1,block").arg(m_configuration.port);
|
||||
|
@@ -52,6 +52,7 @@ public:
|
||||
};
|
||||
|
||||
explicit LocalQmlProfilerRunner(const Configuration &configuration, QObject *parent = 0);
|
||||
~LocalQmlProfilerRunner();
|
||||
|
||||
// AbstractQmlProfilerRunner
|
||||
virtual void start();
|
||||
|
Reference in New Issue
Block a user