forked from qt-creator/qt-creator
Merge remote branch 'origin/2.1'
This commit is contained in:
@@ -131,6 +131,11 @@ void MaemoSshRunner::stop()
|
||||
if (m_state == PostRunCleaning || m_state == StopRequested
|
||||
|| m_state == Inactive)
|
||||
return;
|
||||
if (m_state == Connecting) {
|
||||
setState(Inactive);
|
||||
emit remoteProcessFinished(InvalidExitCode);
|
||||
return;
|
||||
}
|
||||
|
||||
setState(StopRequested);
|
||||
cleanup();
|
||||
|
||||
Reference in New Issue
Block a user