Commit 3cf2a633 authored by David Schulz's avatar David Schulz

WinRT: Fix occasional crash when debugging WinRT application.

Change-Id: Ie7d54e49d67450395bf6161e9b71d00a9bf52e23
Reviewed-by: default avatarOliver Wolff <oliver.wolff@theqtcompany.com>
parent bd91f82a
......@@ -58,6 +58,11 @@ WinRtDebugSupport::WinRtDebugSupport(RunControl *runControl, WinRtRunnerHelper *
connect(m_debugRunControl, SIGNAL(finished()), this, SLOT(finish()));
}
WinRtDebugSupport::~WinRtDebugSupport()
{
delete m_runner;
}
void WinRtDebugSupport::finish()
{
m_runner->stop();
......
......@@ -49,6 +49,7 @@ public:
static ProjectExplorer::RunControl *createDebugRunControl(WinRtRunConfiguration *runConfig,
ProjectExplorer::RunMode mode,
QString *errorMessage);
~WinRtDebugSupport();
private:
WinRtDebugSupport(ProjectExplorer::RunControl *runControl, WinRtRunnerHelper *runner);
......
......@@ -52,7 +52,7 @@ using namespace WinRt;
using namespace WinRt::Internal;
WinRtRunnerHelper::WinRtRunnerHelper(WinRtRunConfiguration *runConfiguration, QString *errormessage)
: QObject(runConfiguration)
: QObject()
, m_messenger(0)
, m_runConfiguration(runConfiguration)
, m_process(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment