summaryrefslogtreecommitdiffstats
path: root/src/core/net
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-11-28 08:46:42 +0100
committerLiang Qi <liang.qi@qt.io>2018-11-28 08:46:42 +0100
commit4b2ab1d0816683dd53311ecb719ac8ede0d5b327 (patch)
treecd0cf3daf7678af3b265ff62edd78cd321e90489 /src/core/net
parentbbee17d60ae390a8c2c53d429cfa552f726a6d45 (diff)
parentba816f1f5cd5ddb7f5cba32d0c9816bb439dffba (diff)
Merge remote-tracking branch 'origin/5.12' into dev
Diffstat (limited to 'src/core/net')
-rw-r--r--src/core/net/url_request_custom_job.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/net/url_request_custom_job.cpp b/src/core/net/url_request_custom_job.cpp
index ecfa8e17a..d371c7bff 100644
--- a/src/core/net/url_request_custom_job.cpp
+++ b/src/core/net/url_request_custom_job.cpp
@@ -84,6 +84,7 @@ void URLRequestCustomJob::Start()
void URLRequestCustomJob::Kill()
{
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
+ m_proxy->m_job = nullptr;
if (m_device && m_device->isOpen())
m_device->close();
if (m_pendingReadBuffer) {