-
Committer:
Alf Gaida
-
Author(s):
Nathan Osman
-
Date:
2017-10-21 15:43:15 UTC
-
Revision ID:
git-v1:aea1febccaa6adf2e866ccd76d316b4f874492c9
Ensure file is closed when upload finishes.
When retrying requests, the second and all subsequent attempts will fail since
the file is opened in UploadDialog::start() and never closed. This commit will
ensure the file is always closed at the end of the request, even if it fails.