Merge pull request #63 from ad-m/flush-buffer

Flush metadata buffer when exiting gracefully
This commit is contained in:
Bora M. Alper 2017-05-01 07:33:34 +04:00 committed by GitHub
commit 57edd024ba

View File

@ -131,4 +131,6 @@ class Database:
cur.close()
def close(self) -> None:
if self.__pending_metadata:
self.__commit_metadata()
self.__db_conn.close()