From a7e1e089921efcb1472f1bf81703366f2f5bb5d1 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Sat, 17 Feb 2024 19:08:30 +0100 Subject: [PATCH] :art: threadpool --- src/gwiondata.c | 2 +- util | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gwiondata.c b/src/gwiondata.c index a9bebdbd..5347f62b 100644 --- a/src/gwiondata.c +++ b/src/gwiondata.c @@ -47,6 +47,6 @@ ANN void free_gwiondata(const Gwion gwion) { mp_free(gwion->mp, SpecialId, (struct SpecialId_ *)map_at(&data->id, i)); map_release(&data->id); free_passes(gwion->mp, data->passes); - free_threadpool(data->tpool); + if(data->tpool) free_threadpool(data->tpool); free_gwiondata_cpy(gwion->mp, data); } diff --git a/util b/util index ee0fbca0..b2b8760f 160000 --- a/util +++ b/util @@ -1 +1 @@ -Subproject commit ee0fbca067438890e3dfb2e77968d4300a10bb4f +Subproject commit b2b8760fd8ba2f996d016bf14655ef7aad476ef6 -- 2.43.0