fixing crash when cancelling image upload in chrome
Merge pull request #406 from mozilla/405

Fixing crash when cancelling image upload in chrome