emit complete for blob downloads
This commit is contained in:
parent
353fab8486
commit
df1c4ef913
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ export default class FileReceiver extends Nanobus {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.msg = 'downloadFinish';
|
this.msg = 'downloadFinish';
|
||||||
|
this.emit('complete');
|
||||||
this.state = 'complete';
|
this.state = 'complete';
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.downloadRequest = null;
|
this.downloadRequest = null;
|
||||||
|
|
Loading…
Reference in a new issue