diff options
author | Pierre Hallot <pierre.hallot@sensefly.com> | 2018-03-08 14:34:22 +0100 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2018-07-24 07:39:34 +0000 |
commit | 448c992972d4078af1eee7ad9ccc8d86c0f2e78d (patch) | |
tree | f77fe2c630a7cc85f77b24ac5aa20feb743849a1 /LICENSE.GPL3 | |
parent | 4e080dcbfc8b519b041f125c53ad5f7313ac5393 (diff) | |
download | qtmultimedia-448c992972d4078af1eee7ad9ccc8d86c0f2e78d.tar.gz |
Fix warning on deleteLater on nullptr in QSampleCache
It is possible to have a loading thread running, but with no network
manager.
In that case, calling deleteLater() on m_networkAccessManager results in
a warning: postEvent: Unexpected null receiver.
Fix this issue by checking whether the network manager exists before
calling deleteLater() on it.
Task-number: QTBUG-66910
Change-Id: I818a87a605b4e906dee47c6c815a6b8112b16829
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
Diffstat (limited to 'LICENSE.GPL3')
0 files changed, 0 insertions, 0 deletions