From d53b2455280d793fb6a347bdd1d66c07f1d8377d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 18 May 2016 17:37:43 +0200 Subject: [PATCH] Cancel task instead --- tasks/task_file_transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/task_file_transfer.c b/tasks/task_file_transfer.c index 8624889b82..d3e94e5b55 100644 --- a/tasks/task_file_transfer.c +++ b/tasks/task_file_transfer.c @@ -70,7 +70,7 @@ void rarch_task_file_load_handler(retro_task_t *task) { case NBIO_STATUS_TRANSFER_PARSE: if (task_file_transfer_iterate_parse(nbio) == -1) - goto task_finished; + task->cancelled = true; nbio->status = NBIO_STATUS_TRANSFER_PARSE_FREE; break; case NBIO_STATUS_TRANSFER: