| Summary: | Naval Battle crashes when closing the program while animation is running | ||
|---|---|---|---|
| Product: | [Applications] knavalbattle | Reporter: | Martin Walch <walch.martin> |
| Component: | general | Assignee: | Roney Gomes <roney477> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | kde-games-bugs-null |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 2.0 | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/knavalbattle/6ea0522d338a4fe748d3a8050225e3c6bd662b49 | Version Fixed/Implemented In: | 4.11.4 |
| Sentry Crash Report: | |||
|
Description
Martin Walch
2013-09-20 18:11:52 UTC
Git commit fa0ae896233c2aadf13b540a6d0405ae570a41e0 by Jaime Torres. Committed on 21/11/2013 at 19:43. Pushed by jtamate into branch 'KDE/4.11'. stop the animation when the main window is about to be closed. Stopping the animation avoids a crash, because the animation is a singleton. If it is a variable of the mainwindow, then it will be stopped/deleted before the mainwindow is deleted. FIXED-IN: KDE/4.11.4 KDE/4.12 M +5 -0 src/mainwindow.cpp M +1 -0 src/mainwindow.h http://commits.kde.org/knavalbattle/fa0ae896233c2aadf13b540a6d0405ae570a41e0 Git commit 42b2fb1f69aadb4d2322e89ecc818ad9931df943 by Jaime Torres. Committed on 21/11/2013 at 19:43. Pushed by jtamate into branch 'KDE/4.12'. stop the animation when the main window is about to be closed. Stopping the animation avoids a crash, because the animation is a singleton. If it is a variable of the mainwindow, then it will be stopped/deleted before the mainwindow is deleted. FIXED-IN: KDE/4.11.4 KDE/4.12 M +5 -0 src/mainwindow.cpp M +1 -0 src/mainwindow.h http://commits.kde.org/knavalbattle/42b2fb1f69aadb4d2322e89ecc818ad9931df943 Git commit 6ea0522d338a4fe748d3a8050225e3c6bd662b49 by Jaime Torres. Committed on 21/11/2013 at 19:43. Pushed by jtamate into branch 'master'. stop the animation when the main window is about to be closed. Stopping the animation avoids a crash, because the animation is a singleton. If it is a variable of the mainwindow, then it will be stopped/deleted before the mainwindow is deleted. FIXED-IN: KDE/4.11.4 KDE/4.12 M +5 -0 src/mainwindow.cpp M +1 -0 src/mainwindow.h http://commits.kde.org/knavalbattle/6ea0522d338a4fe748d3a8050225e3c6bd662b49 |