close previously allocated filestream
This commit is contained in:
parent
e9f6531db7
commit
0103b59e61
@ -474,6 +474,10 @@ public:
|
|||||||
leaf_node_file.read((char*)&m_element_count, sizeof(uint64_t));
|
leaf_node_file.read((char*)&m_element_count, sizeof(uint64_t));
|
||||||
leaf_node_file.close();
|
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() << tree_size << " nodes in search tree";
|
||||||
//SimpleLogger().Write() << m_element_count << " elements in leafs";
|
//SimpleLogger().Write() << m_element_count << " elements in leafs";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user