Commit c9d413d0 authored by James Lopez's avatar James Lopez

properly close open file

parent dbceae97
......@@ -27,6 +27,7 @@ module EE
::RepositoryImportWorker.new.perform(export_into_project_id)
ensure
export_file.close if export_file.respond_to?(:close)
project.remove_exported_project_file
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment