Please sign in to comment.
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