From 1df1a1728067407e6ea80c1e863697c13e714335 Mon Sep 17 00:00:00 2001 From: Matty Jorgensen Date: Mon, 8 Apr 2024 19:22:13 -0500 Subject: [PATCH] Fix crash on exit HexViewerIdStartscreen was not being removed and causing a `furi_check` to fail. --- hex_viewer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hex_viewer.c b/hex_viewer.c index 591719fd6..6246faa76 100644 --- a/hex_viewer.c +++ b/hex_viewer.c @@ -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);