Do not emit socketDestroyed twice in FileProviderSocketController

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-03-15 16:05:03 +01:00
parent 6e84aa67a4
commit 3254595fa4
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -41,7 +41,6 @@ void FileProviderSocketController::slotOnDisconnected()
{
qCInfo(lcFileProviderSocketController) << "File provider socket disconnected";
_socket->deleteLater();
Q_EMIT socketDestroyed(_socket);
}
void FileProviderSocketController::slotSocketDestroyed(const QObject * const object)