~lubuntu-dev/lxde/lximage-qt

Viewing all changes in revision 185.

  • 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: