aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/nfs/Connection.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-01 20:39:50 +0200
committerMax Kellermann <max@duempel.org>2014-10-01 20:39:50 +0200
commit579912e52f371c07583e09095a5b89bfe88e872a (patch)
tree653abe6d613f364580d6e77e10eb27671a51cf32 /src/lib/nfs/Connection.hxx
parent1b5ec3e3cacea82e7d667e23b6f31811fc37dd49 (diff)
downloadmpd-579912e52f371c07583e09095a5b89bfe88e872a.tar.gz
mpd-579912e52f371c07583e09095a5b89bfe88e872a.tar.xz
mpd-579912e52f371c07583e09095a5b89bfe88e872a.zip
lib/nfs/Glue: destruct the NfsManager in the I/O thread
This allows eliminating the indirection code from the NfsConnection destructor.
Diffstat (limited to 'src/lib/nfs/Connection.hxx')
-rw-r--r--src/lib/nfs/Connection.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/nfs/Connection.hxx b/src/lib/nfs/Connection.hxx
index ff3b3658d..791ab15e7 100644
--- a/src/lib/nfs/Connection.hxx
+++ b/src/lib/nfs/Connection.hxx
@@ -119,6 +119,9 @@ public:
}
#endif
+ /**
+ * Must be run from EventLoop's thread.
+ */
~NfsConnection();
gcc_pure