all commands (almost): cleaner DMS closing at the end

This commit is contained in:
Celine Mercier
2020-04-12 17:31:58 +02:00
parent eef5156d95
commit 4d0299904e
16 changed files with 31 additions and 26 deletions

View File

@ -97,9 +97,9 @@ def run(config):
# If the input and the output DMS are different, delete the temporary result view in the input DMS
if i_dms != o_dms:
View.delete_view(i_dms, o_view_name)
o_dms.close()
o_dms.close(force=True)
i_dms.close()
i_dms.close(force=True)
logger("info", "Done.")