Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash in network content fetcher when run from non-main thread
Because a QNetworkAccessManager is the parent for all QNetworkReplys created by it, if a reply is created in a thread then we need to ensure that this reply isn't deleted early by destruction of the thread local QgsNetworkAcessManager instance. Work around this by unsetting the parent for the QNetworkReplys owned by QgsNetworkContentFetcher objects. Fixes #19452 (cherry-picked from 7f84b6c)
- Loading branch information