When the scene/views are cleared and there is still an interaction active, palapeli will crash.
This happens to due the fact that the interactors are holding pointers to pieces which are cleared
by Scene::clearPieces()
BUG 336075
Details
Details
- Reviewers
- None
- Group Reviewers
KDE Games - Commits
- R423:39cf28839784: Make sure that no interaction is active before clearing the scene
As described in the bug description: Create a shortcut for restarting the puzzle, select a piece
and move it around. In the meantime restart the puzzle -> no more crash
Diff Detail
Diff Detail
- Repository
- R423 Palapeli
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.