nim-rocksdb/rocksdb/transactions
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
..
transaction.nim Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
txdbopts.nim Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00
txopts.nim Auto close feature to improve memory management of option types. (#57) 2024-06-28 10:04:37 +08:00