<table><tr><td style="">chehrlic created this revision.<br />Restricted Application added a reviewer: KDE Games.<br />Restricted Application added a subscriber: KDE Games.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7637" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When the scene/views are cleared and there is still an interaction active, palapeli will crash.<br />
This happens to due the fact that the interactors are holding pointers to pieces which are cleared<br />
by Scene::clearPieces()<br />
BUG 336075</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>As described in the bug description: Create a shortcut for restarting the puzzle, select a piece<br />
and move it around. In the meantime restart the puzzle -> no more crash</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R423 Palapeli</div></div></div><br /><div><strong>BRANCH</strong><div><div>bug_336075</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7637" rel="noreferrer">https://phabricator.kde.org/D7637</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/engine/gameplay.cpp</div></div></div><br /><div><strong>To: </strong>chehrlic, KDE Games<br /><strong>Cc: </strong>KDE Games<br /></div>