Skip to content

Commit 5edb9dd

Browse files
authored
console: Close console's display in console_close (#696)
1 parent 1c418c6 commit 5edb9dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/console.c

+2
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ void console_close()
165165
/* Unregister ourselves from newlib */
166166
stdio_t console_calls = { 0, __console_write, 0 };
167167
unhook_stdio_calls( &console_calls );
168+
// Close the display that the console module initialized for itself.
169+
display_close();
168170
}
169171

170172
void console_clear()

0 commit comments

Comments
 (0)