Skip to content

Commit

Permalink
Fix segfault on exit
Browse files Browse the repository at this point in the history
The preloading thread should be stopped before image list destroy.

Signed-off-by: Artem Senichev <[email protected]>
  • Loading branch information
artemsen committed Jul 8, 2024
1 parent f10a02b commit a8cfb97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ int main(int argc, char* argv[])
done:
config_free();
viewer_free();
loader_free();
ui_free();
image_list_free();
loader_free();
info_free();
font_free();
keybind_free();
Expand Down

0 comments on commit a8cfb97

Please sign in to comment.