nim-rocksdb/rocksdb
web3-developer 03313d8068
Auto close feature to improve memory management of option types. (#57)
* Revert some changes from prior PR https://github.com/status-im/nim-rocksdb/pull/48 which enable memory leak of options when not cleaned up manually.

* Clean up, add more tests and use correct free function for listColumnFamilies.

* Close opt types when opening database fails.

* Add autoClose flag to each opt type.

* Finish autoClose changes to prevent memory leaks.
2024-06-28 10:04:37 +08:00
..
columnfamily Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
internal Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
lib Format using nph (#54) 2024-06-26 23:00:10 +08:00
options Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
transactions Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
backup.nim Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
columnfamily.nim Update API to support passing in ColFamilyHandleRef instead of column family string. (#52) 2024-06-27 01:31:39 +08:00
rocksdb.nim Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
rocksiterator.nim Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
rocksresult.nim Format using nph (#54) 2024-06-26 23:00:10 +08:00
sstfilewriter.nim Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
transactiondb.nim Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
writebatch.nim Update API to support passing in ColFamilyHandleRef instead of column family string. (#52) 2024-06-27 01:31:39 +08:00