mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
Connectivity: Delete job on timeout #4275
This was not done if there was no reply
This commit is contained in:
parent
9a2450c4c1
commit
d88ab4653b
2 changed files with 2 additions and 0 deletions
|
@ -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 a new issue