diff options
-rw-r--r-- | connection.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/connection.cpp b/connection.cpp index 1949b34d..1bd8e292 100644 --- a/connection.cpp +++ b/connection.cpp @@ -148,7 +148,10 @@ void Connection::reconnect() void Connection::disconnectFromServer() { if (d->syncJob) + { d->syncJob->abandon(); + d->syncJob = nullptr; + } d->isConnected = false; } |