Maemo: Fix UTFS server readiness detection.

This commit is contained in:
Christian Kandeler
2010-08-17 14:49:51 +02:00
parent cd57457a16
commit d1f0c171e2
4 changed files with 148 additions and 30 deletions

View File

@@ -187,6 +187,7 @@ void MaemoSshRunner::handleUnmounted()
case InitialUnmount: {
if (m_stop)
return;
m_mounter->resetMountSpecifications();
MaemoPortList portList = m_devConfig.freePorts();
if (m_debugging && !m_runConfig->useRemoteGdb())
portList.getNext(); // One has already been used for gdbserver.
@@ -214,6 +215,7 @@ void MaemoSshRunner::handleUnmounted()
break;
case ShutdownUnmount:
Q_ASSERT(m_shuttingDown);
m_mounter->resetMountSpecifications();
m_shuttingDown = false;
if (m_exitStatus == SshRemoteProcess::ExitedNormally) {
emit remoteProcessFinished(m_runner->exitCode());