Skip to content
  • Tusooa Windy's avatar
    Fix a crash when undoing with DefaultTool active · 10653411
    Tusooa Windy authored
    DefaultTool::updateActions() might be executed in the
    gui thread when the layer has gone through changes in
    the image thread. Old shapes might have already be
    deleted, which causes use-after-free. We fixed this by
    locking the shape layer canvas in updateActions().
    10653411