winrt: Make sure that Co(Un)Initialize is called
If the QGeoPositionInfoSource is created in a command line app we cannot
rely on CoInitialize having been called by the event dispatcher before.
Fixes: QTBUG-71194
Change-Id: Id2a8fd22f7b4cf6e5c2629bf7dcd8319b585666e
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
| commit | 10e200d710254a30dc5e2d4eb2104f3f2b7f7f0c |
| parent | c83f4565687e4ab3de87248362305d833ca8eea1 |
| author | Oliver Wolff <oliver.wolff@qt.io> |
| committer | Oliver Wolff <oliver.wolff@qt.io> |
| commit time | Wed, 28 Nov 2018 06:36:14 +0000 |