1
0
mirror of https://github.com/fumiama/simple-dict.git synced 2026-06-12 06:00:31 +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."); puts("Free data.");
} }
if(timer->is_open) { if(timer->is_open) {
close_file(timer->fp); close_dict(timer->fp);
timer->is_open = 0; timer->is_open = 0;
puts("Close file."); puts("Close file.");
} }