Diffusion Krita a285f3d16e1f

Fix crash on closing Krita dues to KisOptimizedByteArray

Authored by dkazakov on Dec 5 2017, 2:49 PM.

Description

Fix crash on closing Krita dues to KisOptimizedByteArray

The static objects may be deleted in arbitrary order, which means
the default memory allocator may be destroyed before the last dab is
destructed (in the brush server). The patch just makes all the memory
allocators be a shared pointer.

Details

Committed
dkazakovDec 5 2017, 2:49 PM
Parents
R37:eabb89b073de: Fix painting in Wrap-around mode with the threaded brush
Branches
Unknown
Tags
Unknown