Preemptively release pendingMapObjects upon Map destruction
In this way QGeoMap::mapObjects doesn't have to return all map objects,
as the user added ones should be covered by m_pendingMapObjects.
Change-Id: I5c850f2fb820629e0c4dd941d13f04cb3684b898
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
| commit | e077ad0f5fb4a9513d9cd778e5cbb6b6d38ae026 |
| parent | 912e7eaf9a044941f7f351d8fe2dfdec71760f73 |
| author | Paolo Angelelli <paolo.angelelli@qt.io> |
| committer | BogDan Vatra <bogdan@kdab.com> |
| commit time | Thu, 8 Feb 2018 13:46:42 +0000 |