1
0
mirror of https://github.com/fumiama/simple-dict.git synced 2026-06-05 18:20:26 +08:00
This commit is contained in:
fumiama
2021-05-05 20:56:27 +08:00

View File

@@ -348,7 +348,7 @@ void kill_thread(THREADTIMER* timer) {
puts("Free data.");
}
if(timer->is_open) {
close_file(timer->fp);
close_dict(timer->fp);
timer->is_open = 0;
puts("Close file.");
}