[Pkg-owncloud-commits] [owncloud-client] 61/78: Connectivity: Delete job on timeout #4275
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri Jun 24 16:29:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit d88ab4653bba2657c007319bf515eb2441a207dc
Author: Markus Goetz <markus at woboq.com>
Date: Mon May 30 18:15:41 2016 +0200
Connectivity: Delete job on timeout #4275
This was not done if there was no reply
---
src/gui/accountstate.cpp | 1 +
src/libsync/abstractnetworkjob.cpp | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/gui/accountstate.cpp b/src/gui/accountstate.cpp
index 924317d..08edc43 100644
--- a/src/gui/accountstate.cpp
+++ b/src/gui/accountstate.cpp
@@ -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;
}
diff --git a/src/libsync/abstractnetworkjob.cpp b/src/libsync/abstractnetworkjob.cpp
index 5f343b2..4599eca 100644
--- a/src/libsync/abstractnetworkjob.cpp
+++ b/src/libsync/abstractnetworkjob.cpp
@@ -242,6 +242,7 @@ void AbstractNetworkJob::slotTimeout()
reply()->abort();
} else {
qDebug() << Q_FUNC_INFO << this << "Timeout reply was NULL";
+ deleteLater();
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list