Diffusion Krita 1e5db24a24c2

Fix crash when creating a bezier curve

Authored by dkazakov on Aug 14 2019, 4:08 PM.

Description

Fix crash when creating a bezier curve

The patch basically makes KoShapeManager thread safe by adding
a simple mutex. The problem is that both,
KoCreatePathTool::Private::endPointAtPosition() and
KisRepaintShapeLayerLayerJob access the shape manager in different
threads concurrently, which obviously causes a crash.

BUG:410572
BACKPORT:krita/4.2

Details

Committed
dkazakovAug 14 2019, 4:16 PM
Parents
R37:a5ef0656ef75: Remove update compressor in KoShapeManager
Branches
Unknown
Tags
Unknown