forked from openlp/openlp
Close db session after import to unlock file on windows
This commit is contained in:
parent
fbeb0222a8
commit
8f4ccc5426
@ -217,4 +217,5 @@ class OpenLPSongImport(SongImport):
|
||||
self.import_wizard.increment_progress_bar(WizardStrings.ImportingType % new_song.title)
|
||||
if self.stop_import_flag:
|
||||
break
|
||||
self.source_session.close()
|
||||
engine.dispose()
|
||||
|
Loading…
Reference in New Issue
Block a user