Merge pull request #63 from ad-m/flush-buffer
Flush metadata buffer when exiting gracefully
This commit is contained in:
commit
57edd024ba
@ -131,4 +131,6 @@ class Database:
|
||||
cur.close()
|
||||
|
||||
def close(self) -> None:
|
||||
if self.__pending_metadata:
|
||||
self.__commit_metadata()
|
||||
self.__db_conn.close()
|
||||
|
Loading…
Reference in New Issue
Block a user