mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
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>
This commit is contained in:
parent
c1f0716d53
commit
4016c2fab0
1 changed files with 0 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue