forked from qt-creator/qt-creator
Fix rare crash.
In case one stoped the running application on the device, removed the project from the IDE and then closing the app output window would crash.
This commit is contained in:
@@ -1257,6 +1257,9 @@ void MaemoRunControl::executionFinished()
|
|||||||
|
|
||||||
void MaemoRunControl::stop()
|
void MaemoRunControl::stop()
|
||||||
{
|
{
|
||||||
|
if (!isRunning()
|
||||||
|
return;
|
||||||
|
|
||||||
stoppedByUser = true;
|
stoppedByUser = true;
|
||||||
if (isDeploying()) {
|
if (isDeploying()) {
|
||||||
stopDeployment();
|
stopDeployment();
|
||||||
|
Reference in New Issue
Block a user