Skip to content
Snippets Groups Projects
Commit 9b2d7a97 authored by Mandar Harshe's avatar Mandar Harshe
Browse files

PR comment suggestions and fixes

Remove unnecessary delete

Revert deleting Close method call
parent 92c7d8d3
No related branches found
No related tags found
No related merge requests found
[build-system] [build-system]
requires = ["setuptools", "wheel", "Cython"] requires = ["setuptools", "wheel", "cython"]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
...@@ -1738,6 +1738,7 @@ cdef class DB(object): ...@@ -1738,6 +1738,7 @@ cdef class DB(object):
copts.in_use = False copts.in_use = False
del self.cf_options[:] del self.cf_options[:]
with nogil: with nogil:
st = self.db.Close()
self.db = NULL self.db = NULL
if self.opts is not None: if self.opts is not None:
self.opts.in_use = False self.opts.in_use = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment