Skip to content

Fix mask deletion

Mikhail Svechnikov requested to merge m.0 into main

Now two things are done before the mask item is deleted with MaskSet::delete_current():

  1. safely delete observable Overlay
  2. remove the mask item from m_mask2overlay map.

The related segfaults and memory leaks are gone.

Merge request reports

Loading