Skip to content

Free stock patterns before FontFactory destructor

Mike Kowalski requested to merge mkov/inkscape:fix-crash-on-exit into master

Applying a pattern fill to object would cause Inkscape to crash on exit due to stock pattern documents destruction after FontFactory. This MR adds them to a list of Statics lifetime of which is controlled.

There's no explicit instantiation, but it happens after FontFactory creation, so reverse order destruction works as it should now in predictable manner.

Merge request reports