close previously allocated filestream

This commit is contained in:
Dennis Luxen 2013-10-28 14:21:31 +01:00
parent e9f6531db7
commit 0103b59e61

View File

@ -474,6 +474,10 @@ public:
leaf_node_file.read((char*)&m_element_count, sizeof(uint64_t));
leaf_node_file.close();
if( thread_local_rtree_stream.get() ) {
thread_local_rtree_stream->close();
}
//SimpleLogger().Write() << tree_size << " nodes in search tree";
//SimpleLogger().Write() << m_element_count << " elements in leafs";
}