This commit is contained in:
Kelvin Sherlock 2019-04-08 21:13:21 -04:00
commit e23f4494ca
1 changed files with 7 additions and 1 deletions

View File

@ -407,6 +407,10 @@ static char *get_path2(void) {
}
/*
* shutdown is called when switching to p8.
* startup is ONLY called during initial boot.
*/
static word32 fst_shutdown(void) {
@ -418,7 +422,7 @@ static word32 fst_shutdown(void) {
free_fd(head);
head = next;
}
host_shutdown();
//host_shutdown();
return 0;
}
@ -426,6 +430,8 @@ static word32 fst_startup(void) {
// if restart, close any previous files.
fst_shutdown();
host_shutdown();
memset(&cookies, 0, sizeof(cookies));
return host_startup();