fix infinite loop on file cleanup

This commit is contained in:
bumbread 2023-02-19 02:05:37 +11:00
parent 601c4cc6c9
commit 9bd52d3145
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ static void _io_close() {
while(_file_tracker != NULL) {
FILE *stream = _file_tracker;
fclose(stream);
_file_tracker = _file_tracker->next;
}
}