Wait for the image to finish writing before resizing

This commit is contained in:
Jonathan Cremin 2016-08-07 20:10:04 +01:00
parent 305dd77f43
commit 2c577cb7ae
2 changed files with 36 additions and 30 deletions

View file

@ -19,7 +19,7 @@ export function* post(next) {
uploader.acceptedEvent();
uploader.receive();
yield uploader.receive();
yield uploader.promise;