Free stock patterns before FontFactory destructor
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.