forked from qt-creator/qt-creator
RemoteLinux: Add missing reset of "disconnected" state
I believe this code path can be taken due to connection sharing. Fixes: QTCREATORBUG-30828 Change-Id: I64a6142574719b85215379e304989f36b6bf46da Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -1191,8 +1191,10 @@ void LinuxDevicePrivate::checkOsType()
|
||||
// Call me with shell mutex locked
|
||||
bool LinuxDevicePrivate::setupShell(const SshParameters &sshParameters, bool announce)
|
||||
{
|
||||
if (m_handler->isRunning(sshParameters))
|
||||
if (m_handler->isRunning(sshParameters)) {
|
||||
setDisconnected(false);
|
||||
return true;
|
||||
}
|
||||
|
||||
invalidateEnvironmentCache();
|
||||
|
||||
|
Reference in New Issue
Block a user