Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reintroducing and fixing an event loop to wait for task starting
The method QgsTask::waitForFinished doesn't wait the task to be finished if the task has not yet being started (because the task wait to start if there is no thread available for instance). This bug has been fixed in a much nicer way in version 3.12 and upper, but it has not been backported to version 3.10. If #32838 is backported, for example with #36651, this commit has to be revert.
- Loading branch information