Fix delete command to wait until all finished - fixes missing deletes.

This also could affect deletes at the end of the sync command.
This commit is contained in:
Nick Craig-Wood 2016-02-15 16:43:59 +00:00
parent b1dd8e998b
commit a6320bbad3
1 changed files with 1 additions and 0 deletions

View File

@ -906,6 +906,7 @@ func Delete(f Fs) error {
delete <- o
})
close(delete)
wg.Wait()
return err
}