aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/nfs/Glue.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/nfs/Glue.cxx')
-rw-r--r--src/lib/nfs/Glue.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/nfs/Glue.cxx b/src/lib/nfs/Glue.cxx
index c89d463ca..6fc849609 100644
--- a/src/lib/nfs/Glue.cxx
+++ b/src/lib/nfs/Glue.cxx
@@ -21,6 +21,7 @@
#include "Glue.hxx"
#include "Manager.hxx"
#include "IOThread.hxx"
+#include "event/Call.hxx"
#include "util/Manual.hxx"
static Manual<NfsManager> nfs_glue;
@@ -43,7 +44,7 @@ nfs_finish()
if (--in_use > 0)
return;
- nfs_glue.Destruct();
+ BlockingCall(io_thread_get(), [](){ nfs_glue.Destruct(); });
}
NfsConnection &