Skip to content

Commit

Permalink
fixed crash on no cover image
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Jul 25, 2023
1 parent 9d30279 commit ef142f0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/app/util/img_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ static int task_execute(img_loader_task_t *task) {
void *request = task->request;
if (!loader->impl.filecache_get(request)) {
if (!loader->impl.fetch(request)) {
// call fail_cb
img_loader_fn cb = task_cancelled(task) ? task->cb.cancel_cb : task->cb.fail_cb;
run_on_main(loader, cb, request);
return EIO;
}
if (loader->destroyed) {
Expand Down

0 comments on commit ef142f0

Please sign in to comment.