diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-07-02 10:28:50 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-07-02 14:51:40 +0000 |
commit | 73487b82471e41e5c6950ac17c5dd5915cd92cf4 (patch) | |
tree | 073365119211a4eedcdfdbb85b92aab0a0e72195 /src | |
parent | 034e8e38e3d59ce294e3e6e3306623116a1f6d69 (diff) |
Cancel favicon requests explicitly
Better to do it before we invalidate the profile.
Change-Id: I2448bc522a973d26cb51aebe2f413bf30ca3edef
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
(cherry picked from commit 7433e47ab1c9a2c0b2a0f1bc3a21d3c6ba36b071)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/profile_adapter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/profile_adapter.cpp b/src/core/profile_adapter.cpp index 7faeecf9b..60f74ff80 100644 --- a/src/core/profile_adapter.cpp +++ b/src/core/profile_adapter.cpp @@ -120,6 +120,7 @@ ProfileAdapter::ProfileAdapter(const QString &storageName): ProfileAdapter::~ProfileAdapter() { + m_cancelableTaskTracker->TryCancelAll(); content::BrowserContext::NotifyWillBeDestroyed(m_profile.data()); while (!m_webContentsAdapterClients.isEmpty()) { m_webContentsAdapterClients.first()->releaseProfile(); |