Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>2021-07-01 18:17:59 +0300
committerMatthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr>2021-07-06 17:16:43 +0300
commit4016c2fab0326c8e78ba475f156f65be1ae57f4f (patch)
tree7305cd361a1855427d62bcb6d8cc3aa130cfb0ae /src
parentc1f0716d53ce4dd6117e9c2e64031a4b299a6539 (diff)
avoid error when doing hydration when data socket is closed too early
when data is received, if we close the socket they cannot be read Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Diffstat (limited to 'src')
-rw-r--r--src/libsync/vfs/cfapi/cfapiwrapper.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsync/vfs/cfapi/cfapiwrapper.cpp b/src/libsync/vfs/cfapi/cfapiwrapper.cpp
index 189ef1c6e..731d5b9d6 100644
--- a/src/libsync/vfs/cfapi/cfapiwrapper.cpp
+++ b/src/libsync/vfs/cfapi/cfapiwrapper.cpp
@@ -204,7 +204,6 @@ void CALLBACK cfApiFetchDataCallback(const CF_CALLBACK_INFO *callbackInfo, const
QObject::connect(vfs, &OCC::VfsCfApi::hydrationRequestFinished, &loop, [&](const QString &id) {
qDebug(lcCfApiWrapper) << "Hydration finished for request" << id;
if (requestId == id) {
- socket.close();
signalSocket.close();
loop.quit();
}