diff options
author | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2017-11-09 15:26:49 +0100 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2017-11-10 09:05:26 +0000 |
commit | b0c352054e64b0fc64e547bf54dad1bdeaee283a (patch) | |
tree | 091f53857cae141432438e2a2e05629e6e37af56 /tests | |
parent | b42659eb8baa384e329e6af6afea89bb4005fb46 (diff) |
Fix crash when an app is sent to background while capturing an image
Since the native notify* methods for QtCameraListener.java are executed
on different thread, there is a potential for a race condition when the
applicationStateChanged is received before the notify* signals,
which leads to the camera being release before the slots are executed.
Task-number: QTBUG-52366
Change-Id: Ifc82f3a75a7e88e4e76fac3edbf16bb9f138fde7
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions