Flush metadata buffer when exiting gracefully

This commit is contained in:
Adam Dobrawy 2017-05-01 03:14:50 +02:00
parent 2251664dbd
commit fd654f25b8

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()