mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 00:49:47 +00:00
(frontend.c) Fix async job leak
This commit is contained in:
parent
9bb36cac38
commit
aa08f3ba58
@ -305,6 +305,11 @@ int rarch_main(int argc, char *argv[], void *data)
|
||||
main_exit(args);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_THREADS
|
||||
async_job_free(global->async_jobs);
|
||||
global->async_jobs = NULL;
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user