mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-09 22:45:16 +08:00
Merge pull request #413 from mbilker/cleanup-download-delete-after-trigger
fix(FileDownloadStore): delete download from @_downloads after @trigger
This commit is contained in:
commit
dd7cd370b7
1 changed files with 1 additions and 1 deletions
|
@ -231,8 +231,8 @@ FileDownloadStore = Reflux.createStore
|
|||
|
||||
_cleanupDownload: (download) ->
|
||||
download.abort()
|
||||
delete @_downloads[download.fileId]
|
||||
@trigger()
|
||||
delete @_downloads[download.fileId]
|
||||
|
||||
_defaultSavePath: (file) ->
|
||||
if process.platform is 'win32'
|
||||
|
|
Loading…
Reference in a new issue