Fix mask deletion
Now two things are done before the mask item is deleted with MaskSet::delete_current()
:
- safely delete observable
Overlay
- remove the mask item from
m_mask2overlay
map.
The related segfaults and memory leaks are gone.
Now two things are done before the mask item is deleted with MaskSet::delete_current()
:
Overlay
m_mask2overlay
map.The related segfaults and memory leaks are gone.