lower risk of memory weirdness on quit...maybe

This commit is contained in:
LiquidFenrir
2017-12-05 20:29:54 +01:00
parent 0818389752
commit 7c3ca57e07

View File

@@ -69,6 +69,9 @@ void exit_services(void)
void exit_function(void) void exit_function(void)
{ {
exit_screens();
exit_services();
if(homebrew) if(homebrew)
{ {
APT_HardwareResetAsync(); APT_HardwareResetAsync();
@@ -77,9 +80,6 @@ void exit_function(void)
{ {
srvPublishToSubscriber(0x202, 0); srvPublishToSubscriber(0x202, 0);
} }
exit_screens();
exit_services();
} }
void change_selected(Entry_List_s * list, int change_value) void change_selected(Entry_List_s * list, int change_value)