Ensure verification job gets deleted after finish
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Thu, 23 May 2024 16:16:41 +0000 (00:16 +0800)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Mon, 22 Jul 2024 11:51:37 +0000 (19:51 +0800)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/editlocallyverificationjob.cpp

index f90847a395220e5da8b86c37e8a3b6c96f46d3e8..861c4c09d322d5f5a9b7fb3c8465389dbf439e2b 100644 (file)
@@ -71,6 +71,8 @@ void EditLocallyVerificationJob::responseReceived(const int statusCode)
         emit error(tr("Could not start editing locally."), 
                    tr("An error occurred trying to verify the request to edit locally."));
     }
+
+    deleteLater();
 }
 
 }