Diffusion Krita 430ff1b0ec7f

Fix a potential race condition in KisRecalculateGeneratorLayerJob

Authored by dkazakov on Jun 12 2018, 8:18 AM.

Description

Fix a potential race condition in KisRecalculateGeneratorLayerJob

In some rare cases (when the color space of the image changed),
KisGeneratorLayer::update() may call resetCache(), which demands
exclusive access to the paint device. So just make it run exclusively.

Details

Committed
dkazakovJun 12 2018, 8:19 AM
Parents
R37:3ecf377c522a: Fix crash when editing transform mask too actively
Branches
Unknown
Tags
Unknown