mirror of https://github.com/nextcloud/desktop
Connectivity: Delete job on timeout #4275
This was not done if there was no reply
This commit is contained in:
parent
9a2450c4c1
commit
d88ab4653b
|
@ -209,6 +209,7 @@ void AccountState::checkConnectivity()
|
|||
void AccountState::slotConnectionValidatorResult(ConnectionValidator::Status status, const QStringList& errors)
|
||||
{
|
||||
if (isSignedOut()) {
|
||||
qDebug() << "Signed out, ignoring" << connectionStatusString(status) << _account->url().toString();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -242,6 +242,7 @@ void AbstractNetworkJob::slotTimeout()
|
|||
reply()->abort();
|
||||
} else {
|
||||
qDebug() << Q_FUNC_INFO << this << "Timeout reply was NULL";
|
||||
deleteLater();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue