GNOME Bugzilla – Bug 787508
Application crashes when closing empty notes
Last modified: 2017-09-11 02:19:53 UTC
Application is crashing when creating a new note and, without adding anything, it's closed.
Created attachment 359464 [details] [review] main-view: Crash when closing app with empty note Application is crashing when closing it in an empty note. When application is closed, it's raised an item-delete action. The item-delete process tries to get back to main view, but view are now destroyed, so it reaches a NULL pointer. This patch checks if view is NULL and then returns without further processing.
Created attachment 359465 [details] [review] main-view: Crash when closing app with empty note Application is crashing when closing it in an empty note. When application is closed, it's raised an item-delete action. The item-delete process tries to get back to main view, but view are now destroyed, so it reaches a NULL pointer. This patch checks if view is NULL and then returns without further processing.
Created attachment 359466 [details] [review] main-view: Crash when closing app with empty note Application is crashing when closing it in an empty note. When application is closed, it's raised an item-delete action. The item-delete process tries to get back to main view, but view are now destroyed, so it reaches a NULL pointer. This patch checks if view is NULL and then returns without further processing.
Review of attachment 359466 [details] [review]: Pushed to master.
Created attachment 359487 [details] [review] main-view: Crash when closing app with empty note Application is crashing when closing it in an empty note. When application is closed, it's raised an item-delete action. The item-delete process tries to get back to main view, but view are now destroyed, so it reaches a NULL pointer. This patch checks if view is NULL and then returns without further processing.
Created attachment 359489 [details] [review] main-view: Crash when closing app with empty note Application is crashing when closing it in an empty note. When application is closed, it's raised an item-delete action. The item-delete process tries to get back to main view, but view are now destroyed, so it reaches a NULL pointer. This patch checks if view is NULL and then returns without further processing.