diff options
| -rw-r--r-- | netfs/fuse/fuse.cpp | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/netfs/fuse/fuse.cpp b/netfs/fuse/fuse.cpp index e221cfd..aac2f78 100644 --- a/netfs/fuse/fuse.cpp +++ b/netfs/fuse/fuse.cpp @@ -13,6 +13,12 @@ NetFS::FuseApp::FuseApp(int & argc, char ** argv) :  NetFS::FuseApp::~FuseApp()  { +	BOOST_FOREACH(const OpenDirs::value_type & of, openDirs) { +		of.second->remote->close(); +	} +	BOOST_FOREACH(const OpenFiles::value_type & of, openFiles) { +		of.second->remote->close(); +	}  	volume->disconnect();  	if (ic) {  		ic->destroy(); | 
