diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2020-01-15 15:13:27 +0100 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2020-03-27 09:56:13 +0100 |
commit | ccfcf832862582cd0e7c6b33547c9bf9d3b47240 (patch) | |
tree | e5cdab2910b150bbc5da4a067187d44ee160b3e9 /src/location | |
parent | f16f4a231cd10867c10eb42fb456867469c93836 (diff) | |
download | qtlocation-ccfcf832862582cd0e7c6b33547c9bf9d3b47240.tar.gz |
winrt: Fix crash on exit
Using a static ComPtr<IGeoLocationStatics> in requestAccess might cause
a crash on exit as this pointer might be cleaned up after the application
has exited. Make sure, that this pointer is deleted together with the
rest by making it part of the d pointer.
Fixes: QTBUG-80711
Change-Id: I93c09a4549967195101de07b3cef430f8cd52229
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location')
0 files changed, 0 insertions, 0 deletions