Skip to content

Commit 6b9b513

Browse files
committed
[bugfix] Fixes QgsFileDownloader abort on error
Abort reply on error. Fixes #171410 Requires backport
1 parent f06ea87 commit 6b9b513

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/qgsfiledownloader.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ void QgsFileDownloader::error( const QStringList &errorMessages )
113113
{
114114
mErrors << errorMessages[i];
115115
}
116+
if ( mReply )
117+
mReply->abort();
116118
emit downloadError( mErrors );
117119
}
118120

0 commit comments

Comments
 (0)