From 36962003f216b8176f1799bf22af4d258ee8e542 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 20 Sep 2017 10:02:18 +0200 Subject: ipcpd: Fix shutdown of rib Fixes #50 --- src/lib/rib.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/rib.c') diff --git a/src/lib/rib.c b/src/lib/rib.c index b6c8e140..579d9aac 100644 --- a/src/lib/rib.c +++ b/src/lib/rib.c @@ -305,7 +305,10 @@ void rib_fini(void) struct list_head * p; struct list_head * h; + fuse_exit(rib.fuse); + fuse_unmount(rib.mnt, rib.ch); + pthread_join(rib.fuse_thr, NULL); fuse_destroy(rib.fuse); -- cgit v1.2.3