From 7c3ca57e07ac67667d6acd8615d5d580b9ba3120 Mon Sep 17 00:00:00 2001 From: LiquidFenrir Date: Tue, 5 Dec 2017 20:29:54 +0100 Subject: [PATCH] lower risk of memory weirdness on quit...maybe --- source/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/main.c b/source/main.c index cfacdda..6f61fba 100644 --- a/source/main.c +++ b/source/main.c @@ -69,6 +69,9 @@ void exit_services(void) void exit_function(void) { + exit_screens(); + exit_services(); + if(homebrew) { APT_HardwareResetAsync(); @@ -77,9 +80,6 @@ void exit_function(void) { srvPublishToSubscriber(0x202, 0); } - - exit_screens(); - exit_services(); } void change_selected(Entry_List_s * list, int change_value)