Skip to content

Commit cb05c31

Browse files
nguyenvnguyenv
authored andcommitted
Remove Unnecssary Destructor
1 parent 62ed4be commit cb05c31

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tiledb/cc/vfs.cc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ class FileHandle {
5858
tiledb_vfs_open(this->_ctx, vfs.ptr().get(), uri.c_str(), mode, &this->_fh);
5959
}
6060

61-
~FileHandle() {
62-
if (!this->closed())
63-
this->close();
64-
}
65-
6661
void close() { tiledb_vfs_close(this->_ctx, this->_fh); }
6762

6863
py::bytes read(uint64_t offset, uint64_t nbytes) {

0 commit comments

Comments
 (0)