Skip to content

Commit

Permalink
Fix crash on exit
Browse files Browse the repository at this point in the history
HexViewerIdStartscreen was not being removed and causing a `furi_check` to fail.
  • Loading branch information
prplecake committed Apr 9, 2024
1 parent a26c865 commit 1df1a17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hex_viewer.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ void hex_viewer_app_free(HexViewer* app) {

// View Dispatcher
view_dispatcher_remove_view(app->view_dispatcher, HexViewerViewIdMenu);
view_dispatcher_remove_view(app->view_dispatcher, HexViewerViewIdStartscreen);
view_dispatcher_remove_view(app->view_dispatcher, HexViewerViewIdScroll);
view_dispatcher_remove_view(app->view_dispatcher, HexViewerViewIdSettings);

Expand Down

0 comments on commit 1df1a17

Please sign in to comment.