summaryrefslogtreecommitdiffstats
path: root/src/plugins/multimedia/android/mediacapture/qandroidcamerasession.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2023-02-24 11:31:49 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2023-02-27 10:57:28 +0000
commit5743d07aa7d55690188170b8b16e372a561951f7 (patch)
tree1c2c0dfec85200b7637cac70b69609c1384fd78a /src/plugins/multimedia/android/mediacapture/qandroidcamerasession.cpp
parentea28fc584c1836ac042d621753bdf12c8431a5c4 (diff)
QWindowsAudioSink: don't access deleted this object
If a slot connected to stateChanged deletes the sink (ie. because the sink went idle and the source has no more data), then we must not access the errorState member anymore. Fixes a crash seen occasionally in the Qt TextToSpeech test. Change-Id: I5f348844d73100ad4ca5f6e15b3493707f33746e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Doris Verria <doris.verria@qt.io> (cherry picked from commit 7ae01fd8b637b59d0c1a0664e27ffd120c1f2deb) Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/multimedia/android/mediacapture/qandroidcamerasession.cpp')
0 files changed, 0 insertions, 0 deletions