Skip to content

Commit fca13e6

Browse files
authored
Merge pull request #10314 from Xaymar/10312-recursive-events
fix: Don't recursively call processEvents
2 parents 075166a + 22bf46a commit fca13e6

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/libsync/networkjobs.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -561,11 +561,6 @@ bool LsColJob::finished()
561561
// XML parse error
562562
emit finishedWithError(reply());
563563
}
564-
565-
// processEvents is called AFTER all reply() accesses. A pending deleteLater()
566-
// processed inside it can zero the QPointer and caused a SIGSEGV when it was
567-
// placed before the reply reads. Do not abuse: it affects QObject lifetimes.
568-
QCoreApplication::processEvents(QEventLoop::AllEvents, 100);
569564
} else {
570565
// wrong content type, wrong HTTP code or any other network error
571566
emit finishedWithError(reply());

0 commit comments

Comments
 (0)