aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse_loop_mt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fuse_loop_mt.c')
-rw-r--r--lib/fuse_loop_mt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/fuse_loop_mt.c b/lib/fuse_loop_mt.c
index 46e2d6e..046256c 100644
--- a/lib/fuse_loop_mt.c
+++ b/lib/fuse_loop_mt.c
@@ -15,6 +15,7 @@
#include "fuse_misc.h"
#include "fuse_kernel.h"
#include "fuse_i.h"
+#include "fuse_uring_i.h"
#include "util.h"
#include <stdio.h>
@@ -407,12 +408,16 @@ int err;
fuse_join_worker(&mt, mt.main.next);
err = mt.error;
+
+ if (se->uring.pool)
+ fuse_uring_stop(se);
}
pthread_mutex_destroy(&se->mt_lock);
if(se->error != 0)
err = se->error;
+
if (created_config) {
fuse_loop_cfg_destroy(config);
config = NULL;