-
Dmitry Kazakov authored
Summary: Call the implicit KisImageSP destructor with scoping. Alternatively, we could remove the: // check if the image has actually been deleted KIS_SAFE_ASSERT_RECOVER_NOOP(!sanityCheckPointer.isValid()); check from KisDocument which seems a bit possessive about its current image. Test Plan: Cf. https://bugs.kde.org/show_bug.cgi?id=396985 Patch by Beuc (https://phabricator.kde.org/p/Beuc/) Reviewers: #krita Subscribers: dkazakov Tags: #krita Differential Revision: https://phabricator.kde.org/D17708
1f14ab95