fix memory leak in db

This commit is contained in:
yagich committed 2026-04-26 14:26:10 +03:00
1 parent 40219f2b54
commit 20554d9c5c
1 file changed
+2
+2
View File
@@ -38,6 +38,8 @@ class DB:
if self._transaction_depth == 0:
self._connection = None
conn.close()
else:
conn.close()
@contextmanager