Skip to content

Don't remove storage if they weren't added in the first place

In KisDocument ctor it may skip adding the resource storages if called from a non-GUI thread using a flag. In the dtor we should also check the same flag to avoid unsafe access to KisResourceLocator::instance()->hasStorage.

Merge request reports