Add missing OSScreenShutdown call

This commit is contained in:
Maschell 2021-12-30 14:46:42 +01:00
parent aea2a86b05
commit 8c132ccf9a

View File

@ -343,14 +343,16 @@ int32_t handleMenuScreen(int32_t autobootOptionInput) {
DrawUtils::clear(COLOR_BLACK);
DrawUtils::endDraw();
DrawUtils::deinitFont();
OSScreenShutdown();
free(screenBuffer);
if (autoboot != autobootOptionInput) {
writeAutobootOption(autoboot);
}
DrawUtils::deinitFont();
free(screenBuffer);
return selected;
}