Also cleanup CEditorMap on destruction

This commit is contained in:
HMH 2017-07-21 20:02:46 +02:00
parent 1f7d216f28
commit 476d57c5c5

View file

@ -343,6 +343,11 @@ public:
Clean(); Clean();
} }
~CEditorMap()
{
Clean();
}
array<CLayerGroup*> m_lGroups; array<CLayerGroup*> m_lGroups;
array<CEditorImage*> m_lImages; array<CEditorImage*> m_lImages;
array<CEnvelope*> m_lEnvelopes; array<CEnvelope*> m_lEnvelopes;